From: Richard M. Stallman Date: Mon, 29 Dec 2003 20:03:05 +0000 (+0000) Subject: (save-buffer-state-x): Use with-no-warnings. X-Git-Tag: ttn-vms-21-2-B4~8071 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e86c60b95adb1485c09ed32a3decf89ebfbf871;p=emacs.git (save-buffer-state-x): Use with-no-warnings. --- diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index f3a540fc491..b7bf99efa2e 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el @@ -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)