diff options
| author | Glenn Morris | 2012-09-27 00:05:37 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-09-27 00:05:37 -0700 |
| commit | 48c339f259bca28c83aef763f11ba380ef86a07a (patch) | |
| tree | 975f310fb897855c21a8f70b3ecbf81ed2d02565 | |
| parent | daee954c00b30e0253fde6e2c2f3b4a5c70f2a06 (diff) | |
| download | emacs-48c339f259bca28c83aef763f11ba380ef86a07a.tar.gz emacs-48c339f259bca28c83aef763f11ba380ef86a07a.zip | |
* 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 @@ | |||
| 1 | 2012-09-27 Glenn Morris <rgm@gnu.org> | 1 | 2012-09-27 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * term.el (term-ansi-reset): | ||
| 4 | Try setting term-ansi-face-already-done to nil. (Bug#11785) | ||
| 5 | |||
| 3 | * vc/vc.el (vc-next-action): Only gripe about committing read-only | 6 | * vc/vc.el (vc-next-action): Only gripe about committing read-only |
| 4 | files for RCS and SCCS. (Bug#9781) | 7 | files for RCS and SCCS. (Bug#9781) |
| 5 | 8 | ||
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." | |||
| 994 | (setq term-ansi-current-reverse nil) | 994 | (setq term-ansi-current-reverse nil) |
| 995 | (setq term-ansi-current-color 0) | 995 | (setq term-ansi-current-color 0) |
| 996 | (setq term-ansi-current-invisible nil) | 996 | (setq term-ansi-current-invisible nil) |
| 997 | (setq term-ansi-face-already-done t) | 997 | ;; Stefan thought this should be t, but could not remember why. |
| 998 | ;; Setting it to t seems to cause bug#11785. Setting it to nil | ||
| 999 | ;; again to see if there are other consequences... | ||
| 1000 | (setq term-ansi-face-already-done nil) | ||
| 998 | (setq term-ansi-current-bg-color 0)) | 1001 | (setq term-ansi-current-bg-color 0)) |
| 999 | 1002 | ||
| 1000 | (define-derived-mode term-mode fundamental-mode "Term" | 1003 | (define-derived-mode term-mode fundamental-mode "Term" |