diff options
| author | Richard M. Stallman | 2003-12-29 20:03:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-12-29 20:03:05 +0000 |
| commit | 3e86c60b95adb1485c09ed32a3decf89ebfbf871 (patch) | |
| tree | f49d607a530daa006ee6d5da2cd42cf7efa4a001 | |
| parent | 3066be24c14256604ae91e149f2b1f51f792afca (diff) | |
| download | emacs-3e86c60b95adb1485c09ed32a3decf89ebfbf871.tar.gz emacs-3e86c60b95adb1485c09ed32a3decf89ebfbf871.zip | |
(save-buffer-state-x): Use with-no-warnings.
| -rw-r--r-- | lisp/progmodes/antlr-mode.el | 2 |
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 @@ | |||
| 161 | ;; More compile-time-macros | 161 | ;; More compile-time-macros |
| 162 | (eval-when-compile | 162 | (eval-when-compile |
| 163 | (defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el | 163 | (defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el |
| 164 | (let ((modified (gensym "save-buffer-state-x-modified-"))) | 164 | (let ((modified (with-no-warnings (gensym "save-buffer-state-x-modified-")))) |
| 165 | `(let ((,modified (buffer-modified-p))) | 165 | `(let ((,modified (buffer-modified-p))) |
| 166 | (unwind-protect | 166 | (unwind-protect |
| 167 | (let ((buffer-undo-list t) (inhibit-read-only t) | 167 | (let ((buffer-undo-list t) (inhibit-read-only t) |