Fix prompt colors in comint-snapshot-last-prompt
* lisp/comint.el (comint-snapshot-last-prompt): Fix colorization of the prompt (bug#11883).
This commit is contained in:
parent
6f2351a486
commit
7fd900ff3a
1 changed files with 1 additions and 1 deletions
|
@ -2036,7 +2036,7 @@ the start, the cdr to the end of the last prompt recognized.")
|
|||
Freezes the `font-lock-face' text property in place."
|
||||
(when comint-last-prompt
|
||||
(with-silent-modifications
|
||||
(font-lock-prepend-text-property
|
||||
(font-lock-append-text-property
|
||||
(car comint-last-prompt)
|
||||
(cdr comint-last-prompt)
|
||||
'font-lock-face 'comint-highlight-prompt))
|
||||
|
|
Loading…
Add table
Reference in a new issue