]> git.eshelyaron.com Git - emacs.git/commitdiff
(save-buffer-state-x): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Mon, 29 Dec 2003 20:03:05 +0000 (20:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 29 Dec 2003 20:03:05 +0000 (20:03 +0000)
lisp/progmodes/antlr-mode.el

index f3a540fc4919f1bcdd163127a28a41a6124d3141..b7bf99efa2eaf24ccaf57cc994d1b60764492be2 100644 (file)
 ;; 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)