Mercurial > emacs
diff etc/NEWS @ 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 | 22fafcf25a54 |
children | 8e4172d91b56 |
line wrap: on
line diff
--- a/etc/NEWS Tue Nov 16 14:59:24 2010 -0500 +++ b/etc/NEWS Tue Nov 16 16:14:46 2010 -0500 @@ -543,7 +543,8 @@ * New Modes and Packages in Emacs 24.1 -** New global minor modes electric-pair-mode and electric-indent-mode. +** New global minor modes electric-pair-mode, electric-indent-mode, +and electric-layout-mode. ** pcase.el provides the ML-style pattern matching macro `pcase'.