# HG changeset patch # User Richard M. Stallman # Date 1072728185 0 # Node ID af00346728ddb3800a1ed70bfe8ffb5f80d621fe # Parent 4748e0ab5cf9df1e0ad99e37648b8d4f4459a5dc (save-buffer-state-x): Use with-no-warnings. diff -r 4748e0ab5cf9 -r af00346728dd lisp/progmodes/antlr-mode.el --- 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)