From: Glenn Morris Date: Thu, 27 Sep 2012 07:05:37 +0000 (-0700) Subject: * term.el (term-ansi-reset): Try setting term-ansi-face-already-done to nil. X-Git-Tag: emacs-24.2.90~244^2~62 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48c339f259bca28c83aef763f11ba380ef86a07a;p=emacs.git * term.el (term-ansi-reset): Try setting term-ansi-face-already-done to nil. Fixes: debbugs:11785 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7c803fcd2ea..241d69ec1c3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-09-27 Glenn Morris + * 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) diff --git a/lisp/term.el b/lisp/term.el index 60e59768786..7567bd38f5a 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -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"