diff options
author | miha <miha@kamnitnik.top> | 2021-12-19 12:02:11 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-19 12:02:11 +0100 |
commit | 7fd900ff3a780a83422241552902cfe3c2ecb1d8 (patch) | |
tree | 5092ed07ba66a7142d6d4203f2d017610caebf20 /lisp/comint.el | |
parent | 6f2351a4864fa5dd2c1a6cd070a2499278038958 (diff) | |
download | emacs-7fd900ff3a780a83422241552902cfe3c2ecb1d8.tar.gz |
Fix prompt colors in comint-snapshot-last-prompt
* lisp/comint.el (comint-snapshot-last-prompt): Fix colorization
of the prompt (bug#11883).
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 5f99f560cf3..3decb80ff0b 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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)) |