diff options
author | Alan Mackenzie <acm@muc.de> | 2016-08-09 16:09:18 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-08-09 16:09:18 +0000 |
commit | 9cf9095838aefec9871b9922a95cb4c199696eb8 (patch) | |
tree | b83d310159220803f6a66de2e4d7dce5796ed4e4 /lisp/emacs-lisp/lisp-mode.el | |
parent | 8b789c8cfeaee074f581e10009d781b52bf45c81 (diff) | |
download | emacs-9cf9095838aefec9871b9922a95cb4c199696eb8.tar.gz emacs-9cf9095838aefec9871b9922a95cb4c199696eb8.tar.bz2 emacs-9cf9095838aefec9871b9922a95cb4c199696eb8.zip |
CC Mode: check for and fix missing call to before_change_functions.
Fixes bug #24094 and bug #24074.
This can happen with `revert-buffer' or sometimes `find-file', when the file
is already in a buffer, but the file has been changed outside of Emacs.
* lisp/progmodes/cc-mode (c-after-change): When we detect a missing
invocation of c-before-change-functions, we assume the changed region is the
entire buffer, and call c-before-change explicitly before proceding.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions