changeset 24322:ca77d79a0c21

(momentary-string-display): Bind inhibit-read-only.
author Richard M. Stallman <rms@gnu.org>
date Tue, 16 Feb 1999 00:52:36 +0000
parents 0e5b7bb19ddc
children c1bb999de64e
files lisp/subr.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Tue Feb 16 00:33:44 1999 +0000
+++ b/lisp/subr.el	Tue Feb 16 00:52:36 1999 +0000
@@ -828,7 +828,7 @@
 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))