]> git.eshelyaron.com Git - emacs.git/commit
(electric-layout-post-self-insert-function-1): Simplify.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 18 Jan 2019 22:20:21 +0000 (17:20 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 18 Jan 2019 22:20:21 +0000 (17:20 -0500)
commit78725e49d2802d907c5b54417e6a91ed868c7c6e
tree7df6361edc3ead9f552bd8516b5cd2f1eee31fc3
parent0621591687c6f032077213e85280936e35e45af0
(electric-layout-post-self-insert-function-1): Simplify.

Call electric--after-char-pos right from the start, and take advantage of the
fact that it guarantees to return the right position or nil.
lisp/electric.el