diff options
| author | Glenn Morris <rgm@gnu.org> | 2012-09-27 00:05:37 -0700 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2012-09-27 00:05:37 -0700 |
| commit | 48c339f259bca28c83aef763f11ba380ef86a07a (patch) | |
| tree | 975f310fb897855c21a8f70b3ecbf81ed2d02565 | |
| parent | daee954c00b30e0253fde6e2c2f3b4a5c70f2a06 (diff) | |
| download | emacs-48c339f259bca28c83aef763f11ba380ef86a07a.tar.gz | |
* term.el (term-ansi-reset): Try setting term-ansi-face-already-done to nil.
Fixes: debbugs:11785
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/term.el | 5 |
2 files changed, 7 insertions, 1 deletions
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 <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) 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" |
