aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/font-lock.el9
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 392eaa6d609..e6a14fcb813 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-12-26 Andreas Schwab <schwab@suse.de>
2
3 * font-lock.el (save-buffer-state): Make sure the state of the
4 buffer is always restored.
5
12007-12-26 Jay Belanger <jay.p.belanger@gmail.com> 62007-12-26 Jay Belanger <jay.p.belanger@gmail.com>
2 7
3 * calc/calc.el (calc-lang-allow-percentsigns): New variable. 8 * calc/calc.el (calc-lang-allow-percentsigns): New variable.
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index dc350ce146b..76f3da98bec 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -616,10 +616,11 @@ Major/minor modes can set this variable if they know which option applies.")
616 deactivate-mark 616 deactivate-mark
617 buffer-file-name 617 buffer-file-name
618 buffer-file-truename)) 618 buffer-file-truename))
619 (progn 619 (unwind-protect
620 ,@body) 620 (progn
621 (unless ,modified 621 ,@body)
622 (restore-buffer-modified-p nil))))) 622 (unless ,modified
623 (restore-buffer-modified-p nil))))))
623 ;; 624 ;;
624 ;; Shut up the byte compiler. 625 ;; Shut up the byte compiler.
625 (defvar font-lock-face-attributes)) ; Obsolete but respected if set. 626 (defvar font-lock-face-attributes)) ; Obsolete but respected if set.