mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
* progmodes/cc-mode.el (c-common-init): Bind temporary variables
beg and end before calling c-get-state-before-change-functions.
This commit is contained in:
parent
4775ecad67
commit
ffe87109ce
@ -1,3 +1,8 @@
|
||||
2010-02-06 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* progmodes/cc-mode.el (c-common-init): Bind temporary variables
|
||||
beg and end before calling c-get-state-before-change-functions.
|
||||
|
||||
2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
|
||||
|
@ -642,9 +642,11 @@ compatible with old code; callers should always specify it."
|
||||
(widen)
|
||||
(save-excursion
|
||||
(if c-get-state-before-change-functions
|
||||
(mapc (lambda (fn)
|
||||
(funcall fn beg end))
|
||||
c-get-state-before-change-functions))
|
||||
(let ((beg (point-min))
|
||||
(end (point-max)))
|
||||
(mapc (lambda (fn)
|
||||
(funcall fn beg end))
|
||||
c-get-state-before-change-functions)))
|
||||
(if c-before-font-lock-function
|
||||
(funcall c-before-font-lock-function (point-min) (point-max)
|
||||
(- (point-max) (point-min))))))
|
||||
|
Loading…
Reference in New Issue
Block a user