1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(read-passwd): Copy PROMPT before changing its properties.

This commit is contained in:
Richard M. Stallman 2006-05-24 22:28:02 +00:00
parent 1797b033e0
commit 870560eb10
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-05-24 Richard Stallman <rms@gnu.org>
* subr.el (read-passwd): Copy PROMPT before changing its properties.
2006-05-25 Mathias Dahl <mathias.dahl@gmail.com>
* tumme.el (tumme-display-dired-image): Renamed to

View File

@ -1637,6 +1637,9 @@ by doing (clear-string STRING)."
(sit-for 1))))
success)
(let ((pass nil)
;; Copy it so that add-text-properties won't modify
;; the object that was passed in by the caller.
(prompt (copy-sequence prompt))
(c 0)
(echo-keystrokes 0)
(cursor-in-echo-area t)