]> git.eshelyaron.com Git - emacs.git/commit
Handle entries of multiple symbols in electric-layout-rules
authorJoão Távora <joaotavora@gmail.com>
Sat, 22 Dec 2018 21:05:23 +0000 (21:05 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 23 Dec 2018 20:42:17 +0000 (20:42 +0000)
commite4ef7a2e2a480b9e1d6a8a869ffa8a7459abe9bd
tree673f2519bd645fd097f8869ecbabb240e623aed4
parente02256cf27f8181b378daa08793a7aca6dc1791d
Handle entries of multiple symbols in electric-layout-rules

Instead of allowing multiple rules in electric-layout-rules, allow
rules to specify multiple symbols.  This should be entirely
backward-compatible to existing customizations of that variable.

* lisp/electric.el (electric-layout-rules):  a single entry can
specify multiple symbols.
(electric-layout-post-self-insert-function-1):  rework.

* test/lisp/electric-tests.el: Update tests to work with new semantics
  of electric-layout-rules.
lisp/electric.el
test/lisp/electric-tests.el