Commit ffe87109 authored by Chong Yidong's avatar Chong Yidong

* progmodes/cc-mode.el (c-common-init): Bind temporary variables

beg and end before calling c-get-state-before-change-functions.
parent 4775ecad
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))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment