mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 13:57:36 +00:00
(momentary-string-display): Avoid modifying the undo list.
This commit is contained in:
parent
7015aca452
commit
ca2ec1c584
1 changed files with 2 additions and 0 deletions
|
|
@ -600,6 +600,8 @@ 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)
|
||||
;; Don't modify the undo list at all.
|
||||
(buffer-undo-list t)
|
||||
(modified (buffer-modified-p))
|
||||
(name buffer-file-name)
|
||||
insert-end)
|
||||
|
|
|
|||
Loading…
Reference in a new issue