Add blink-matching-check-function and misc cleanups.
commitb13ebb5ce9cdd1128c5288446efa98ba55a47cfb
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 2 Sep 2010 21:57:08 +0000 (2 23:57 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 2 Sep 2010 21:57:08 +0000 (2 23:57 +0200)
treed2bc3f25a58acafd107da06b69c1b1a000c71bcb
parent5986b97d13071782201a1d1b2cc1913b4b20a953
Add blink-matching-check-function and misc cleanups.
* lisp/simple.el (newline): Eliminate optimization.
Use post-self-insert-hook to set hard-newline and things before
running post-self-insert-hook.
(blink-matching-check-mismatch): New function.
(blink-matching-check-function): New variable.
(blink-matching-open): Use them.
Skip back forward over prefix chars skipped by forward-sexp.
Don't check if the parens are backslash escaped.
(blink-paren-post-self-insert-function): Check backslash escaping here.
lisp/ChangeLog
lisp/simple.el