* term.el (term-ansi-reset): Try setting term-ansi-face-already-done to nil.

Fixes: debbugs:11785
This commit is contained in:
Glenn Morris 2012-09-27 00:05:37 -07:00
parent daee954c00
commit 48c339f259
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2012-09-27 Glenn Morris <rgm@gnu.org>
* term.el (term-ansi-reset):
Try setting term-ansi-face-already-done to nil. (Bug#11785)
* vc/vc.el (vc-next-action): Only gripe about committing read-only
files for RCS and SCCS. (Bug#9781)

View file

@ -994,7 +994,10 @@ is buffer-local."
(setq term-ansi-current-reverse nil)
(setq term-ansi-current-color 0)
(setq term-ansi-current-invisible nil)
(setq term-ansi-face-already-done t)
;; Stefan thought this should be t, but could not remember why.
;; Setting it to t seems to cause bug#11785. Setting it to nil
;; again to see if there are other consequences...
(setq term-ansi-face-already-done nil)
(setq term-ansi-current-bg-color 0))
(define-derived-mode term-mode fundamental-mode "Term"