changeset 53418:af00346728dd

(save-buffer-state-x): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Mon, 29 Dec 2003 20:03:05 +0000
parents 4748e0ab5cf9
children 7864e9172d4e
files lisp/progmodes/antlr-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/antlr-mode.el	Mon Dec 29 20:02:15 2003 +0000
+++ b/lisp/progmodes/antlr-mode.el	Mon Dec 29 20:03:05 2003 +0000
@@ -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)