]> git.eshelyaron.com Git - emacs.git/commitdiff
(momentary-string-display): Bind inhibit-read-only.
authorRichard M. Stallman <rms@gnu.org>
Tue, 16 Feb 1999 00:52:36 +0000 (00:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 16 Feb 1999 00:52:36 +0000 (00:52 +0000)
lisp/subr.el

index 0cea4ed5b9892eadbb7637930479f7f0b49ae1b8..8954dff55e3d05268a1e7fee3cc2522a4d23906c 100644 (file)
@@ -828,7 +828,7 @@ otherwise it is then available as input (as a command if nothing else).
 Display MESSAGE (optional fourth arg) in the echo area.
 If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
   (or exit-char (setq exit-char ?\ ))
-  (let ((buffer-read-only nil)
+  (let ((inhibit-read-only t)
        ;; Don't modify the undo list at all.
        (buffer-undo-list t)
        (modified (buffer-modified-p))