mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(momentary-string-display): Bind inhibit-read-only.
This commit is contained in:
parent
2654fa92b2
commit
c306e0e09f
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue