beg and end before calling c-get-state-before-change-functions.
+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.
(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))))))