Mercurial > emacs
diff lisp/avoid.el @ 111561:4949f2873716
* lisp/electric.el (electric-layout-mode): New minor mode.
(electric--after-char-pos): New function.
(electric-indent-post-self-insert-function): Use it.
(electric-layout-rules): New var.
(electric-layout-post-self-insert-function): New function.
(electric-indent-mode): Make them interact better.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 16 Nov 2010 16:14:46 -0500 |
parents | f9f451f4584f |
children | 417b1e4d63cd |