summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2020-12-30 18:31:56 +0000
committerAlan Mackenzie <acm@muc.de>2020-12-30 18:31:56 +0000
commit059f1863a268d6e9bd2c9b8e05e8546d4dd8f50b (patch)
treeb5b18fface6a5d732b9ee7a3bbcc3e52d24d3508 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el
parentc4c8da67e85c92a296426e3fd39a15ffb80b0b41 (diff)
downloademacs-059f1863a268d6e9bd2c9b8e05e8546d4dd8f50b.tar.gz
emacs-059f1863a268d6e9bd2c9b8e05e8546d4dd8f50b.tar.bz2
emacs-059f1863a268d6e9bd2c9b8e05e8546d4dd8f50b.zip
CC Mode: correct the handling of empty strings
In particular, have the macro cache invalidated after its last use in c-before-change. * lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): Remove c-invalidate-macro-cache from the entries it's in, moving it to.... * lisp/progmodes/cc-mode.el (c-before-change): Call c-invalidate-macro-cache directly from the functions, after the call to c-invalidate-state-cache.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el')
0 files changed, 0 insertions, 0 deletions