projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae31b0
)
Don't spill ansi-color across parts in articles
author
Andreas Schwab
<schwab@linux-m68k.org>
Thu, 29 Oct 2020 09:15:40 +0000
(10:15 +0100)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Thu, 29 Oct 2020 09:21:17 +0000
(10:21 +0100)
* lisp/gnus/gnus-art.el (article-treat-ansi-sequences): Reset
ansi-color-context-region. (Bug#44299)
lisp/gnus/gnus-art.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-art.el
b/lisp/gnus/gnus-art.el
index 2e9d85e39d861950068c09c027fec9b19902b54a..f9a6dd6442707d740112b5b0bccc6870e708f3ae 100644
(file)
--- a/
lisp/gnus/gnus-art.el
+++ b/
lisp/gnus/gnus-art.el
@@
-2170,7
+2170,8
@@
MAP is an alist where the elements are on the form (\"from\" \"to\")."
(save-excursion
(when (article-goto-body)
(let ((inhibit-read-only t))
- (ansi-color-apply-on-region (point) (point-max))))))
+ (ansi-color-apply-on-region (point) (point-max)))))
+ (setq ansi-color-context-region nil))
(defun gnus-article-treat-unfold-headers ()
"Unfold folded message headers.