diff options
| -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) |