buffer is always restored.
+2007-12-26 Andreas Schwab <schwab@suse.de>
+
+ * font-lock.el (save-buffer-state): Make sure the state of the
+ buffer is always restored.
+
2007-12-26 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc.el (calc-lang-allow-percentsigns): New variable.
deactivate-mark
buffer-file-name
buffer-file-truename))
- (progn
- ,@body)
- (unless ,modified
- (restore-buffer-modified-p nil)))))
+ (unwind-protect
+ (progn
+ ,@body)
+ (unless ,modified
+ (restore-buffer-modified-p nil))))))
;;
;; Shut up the byte compiler.
(defvar font-lock-face-attributes)) ; Obsolete but respected if set.