* lisp/comint.el (comint-redirect-setup): Guard mode-line-process (bug#39705)
This commit is contained in:
parent
7dfe90a666
commit
29eb93e3c3
1 changed files with 1 additions and 1 deletions
|
@ -3641,7 +3641,7 @@ and does not normally need to be invoked by the end user or programmer."
|
|||
(setq-local comint-redirect-previous-input-string "")
|
||||
|
||||
(setq mode-line-process
|
||||
(if mode-line-process
|
||||
(if (and mode-line-process (stringp (elt mode-line-process 0)))
|
||||
(list (concat (elt mode-line-process 0) " Redirection"))
|
||||
(list ":%s Redirection")))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue