projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2351a
)
Fix prompt colors in comint-snapshot-last-prompt
author
miha
<miha@kamnitnik.top>
Sun, 19 Dec 2021 11:02:11 +0000
(12:02 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 19 Dec 2021 11:02:11 +0000
(12:02 +0100)
* lisp/comint.el (comint-snapshot-last-prompt): Fix colorization
of the prompt (bug#11883).
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index 5f99f560cf3785c3ee12ee2dc6f6153dad79c2b4..3decb80ff0b7d420c4c212b596b85d58f2801d5d 100644
(file)
--- 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-
pre
pend-text-property
+ (font-lock-
ap
pend-text-property
(car comint-last-prompt)
(cdr comint-last-prompt)
'font-lock-face 'comint-highlight-prompt))