[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7fd900f 1/2: Fix prompt colors in comint-snapshot-last-prompt
From: |
Lars Ingebrigtsen |
Subject: |
master 7fd900f 1/2: Fix prompt colors in comint-snapshot-last-prompt |
Date: |
Sun, 19 Dec 2021 06:27:19 -0500 (EST) |
branch: master
commit 7fd900ff3a780a83422241552902cfe3c2ecb1d8
Author: miha <miha@kamnitnik.top>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix prompt colors in comint-snapshot-last-prompt
* lisp/comint.el (comint-snapshot-last-prompt): Fix colorization
of the prompt (bug#11883).
---
lisp/comint.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/comint.el b/lisp/comint.el
index 5f99f56..3decb80 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))