Handle nil messages in repeat-echo-message.
* lisp/repeat.el (repeat-echo-message): Handle cases where 'current-message' is nil (bug#50176).
This commit is contained in:
parent
7db376e560
commit
46ff443dc0
1 changed files with 3 additions and 2 deletions
|
@ -474,8 +474,9 @@ When Repeat mode is enabled, and the command symbol has the property named
|
|||
(if (current-message)
|
||||
(message "%s [%s]" (current-message) mess)
|
||||
(message mess)))
|
||||
(when (string-search "Repeat with " (current-message))
|
||||
(message nil))))
|
||||
(and (current-message)
|
||||
(string-search "Repeat with " (current-message))
|
||||
(message nil))))
|
||||
|
||||
(defvar repeat-echo-mode-line-string
|
||||
(propertize "[Repeating...] " 'face 'mode-line-emphasis)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue