projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ebdcc4
)
Reset ansi escape context before printing eshell prompt (Bug#27407)
author
Noam Postavsky
<npostavs@gmail.com>
Sun, 18 Jun 2017 19:29:55 +0000
(15:29 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Mon, 3 Jul 2017 14:09:41 +0000
(10:09 -0400)
* lisp/eshell/em-prompt.el (eshell-emit-prompt): Reset
`ansi-color-context-region'.
lisp/eshell/em-prompt.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/em-prompt.el
b/lisp/eshell/em-prompt.el
index 53a83e6a67b846d6dfa2b609a47dea71820c47fd..8c81b43b1facc3436deab401723b827a82a7f0cf 100644
(file)
--- a/
lisp/eshell/em-prompt.el
+++ b/
lisp/eshell/em-prompt.el
@@
-117,6
+117,8
@@
arriving, or after."
(defun eshell-emit-prompt ()
"Emit a prompt if eshell is being used interactively."
+ (when (boundp 'ansi-color-context-region)
+ (setq ansi-color-context-region nil))
(run-hooks 'eshell-before-prompt-hook)
(if (not eshell-prompt-function)
(set-marker eshell-last-output-end (point))