diff options
| author | Gerd Moellmann | 1999-08-17 00:37:45 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-17 00:37:45 +0000 |
| commit | 41f8865874548e844d7f77611d5da05d1b271b89 (patch) | |
| tree | f10ac4d549c2caf902100e8c6f3e7b30aa3cc959 | |
| parent | 2ebf3469d8dd9afeb9a521970e40948c02bf06af (diff) | |
| download | emacs-41f8865874548e844d7f77611d5da05d1b271b89.tar.gz emacs-41f8865874548e844d7f77611d5da05d1b271b89.zip | |
(toplevel): Make face `term-default' an empty face.
The code relied on the fact that Emacs ignored invalid faces in
face text properties in 20.4.
| -rw-r--r-- | lisp/term.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/term.el b/lisp/term.el index e8e584d2152..6d45f1f1c42 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -719,6 +719,7 @@ Buffer local variable.") | |||
| 719 | 719 | ||
| 720 | (when (fboundp 'make-face) | 720 | (when (fboundp 'make-face) |
| 721 | ;;; --- Simple faces --- | 721 | ;;; --- Simple faces --- |
| 722 | (copy-face 'default 'term-default) | ||
| 722 | (make-face 'term-default-fg) | 723 | (make-face 'term-default-fg) |
| 723 | (make-face 'term-default-bg) | 724 | (make-face 'term-default-bg) |
| 724 | (make-face 'term-default-fg-inv) | 725 | (make-face 'term-default-fg-inv) |