mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 03:17:36 +00:00
(save-buffer-state): Make sure the state of the
buffer is always restored.
This commit is contained in:
parent
28d8820188
commit
e97fd4fb02
2 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -616,10 +616,11 @@ Major/minor modes can set this variable if they know which option applies.")
|
|||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue