summaryrefslogtreecommitdiff
path: root/lisp/progmodes/antlr-mode.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-12-29 20:03:05 +0000
committerRichard M. Stallman <rms@gnu.org>2003-12-29 20:03:05 +0000
commit3e86c60b95adb1485c09ed32a3decf89ebfbf871 (patch)
treef49d607a530daa006ee6d5da2cd42cf7efa4a001 /lisp/progmodes/antlr-mode.el
parent3066be24c14256604ae91e149f2b1f51f792afca (diff)
downloademacs-3e86c60b95adb1485c09ed32a3decf89ebfbf871.tar.gz
(save-buffer-state-x): Use with-no-warnings.
Diffstat (limited to 'lisp/progmodes/antlr-mode.el')
-rw-r--r--lisp/progmodes/antlr-mode.el2
1 files changed, 1 insertions, 1 deletions
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)