mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(save-buffer-state-x): Use with-no-warnings.
This commit is contained in:
parent
3066be24c1
commit
3e86c60b95
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@
|
|||
;; More compile-time-macros
|
||||
(eval-when-compile
|
||||
(defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el
|
||||
(let ((modified (gensym "save-buffer-state-x-modified-")))
|
||||
(let ((modified (with-no-warnings (gensym "save-buffer-state-x-modified-"))))
|
||||
`(let ((,modified (buffer-modified-p)))
|
||||
(unwind-protect
|
||||
(let ((buffer-undo-list t) (inhibit-read-only t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue