diff options
| author | Glenn Morris | 2012-11-09 20:48:44 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-11-09 20:48:44 -0500 |
| commit | bf67dafaf5eef3f0f0abe9bfb2b2ff0ed7d8065f (patch) | |
| tree | 7bc8bd4747418caf12a0c28818a627a2830e1e81 | |
| parent | 19e0987902a902967992f788e5f202ba1870d74e (diff) | |
| download | emacs-bf67dafaf5eef3f0f0abe9bfb2b2ff0ed7d8065f.tar.gz emacs-bf67dafaf5eef3f0f0abe9bfb2b2ff0ed7d8065f.zip | |
Make term-default-fg-color, term-default-bg-color obsolete
* lisp/term.el (term-default-fg-color, term-default-bg-color):
Make obsolete, rather than just saying "deprecated" in the doc.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/term.el | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9284fd5d5de..9cd1a921440 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-11-10 Glenn Morris <rgm@gnu.org> | 1 | 2012-11-10 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * term.el (term-default-fg-color, term-default-bg-color): | ||
| 4 | Make obsolete, rather than just saying "deprecated" in the doc. | ||
| 5 | |||
| 3 | * term.el (term): Rename from `term-face'. | 6 | * term.el (term): Rename from `term-face'. |
| 4 | (term-current-face, ansi-term-color-vector) | 7 | (term-current-face, ansi-term-color-vector) |
| 5 | (term-default-fg-color, term-default-bg-color, term-ansi-reset): | 8 | (term-default-fg-color, term-default-bg-color, term-ansi-reset): |
diff --git a/lisp/term.el b/lisp/term.el index 860b5336b56..e6466b8fa95 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -770,16 +770,18 @@ Buffer local variable.") | |||
| 770 | term-color-white]) | 770 | term-color-white]) |
| 771 | 771 | ||
| 772 | (defcustom term-default-fg-color nil | 772 | (defcustom term-default-fg-color nil |
| 773 | "If non-nil, default color for foreground in Term mode. | 773 | "If non-nil, default color for foreground in Term mode." |
| 774 | This is deprecated in favor of customizing the `term' face." | ||
| 775 | :group 'term | 774 | :group 'term |
| 776 | :type 'string) | 775 | :type 'string) |
| 776 | (make-obsolete-variable 'term-default-fg-color "use the face `term' instead." | ||
| 777 | "24.3") | ||
| 777 | 778 | ||
| 778 | (defcustom term-default-bg-color nil | 779 | (defcustom term-default-bg-color nil |
| 779 | "If non-nil, default color for foreground in Term mode. | 780 | "If non-nil, default color for foreground in Term mode." |
| 780 | This is deprecated in favor of customizing the `term' face." | ||
| 781 | :group 'term | 781 | :group 'term |
| 782 | :type 'string) | 782 | :type 'string) |
| 783 | (make-obsolete-variable 'term-default-bg-color "use the face `term' instead." | ||
| 784 | "24.3") | ||
| 783 | 785 | ||
| 784 | (defface term | 786 | (defface term |
| 785 | `((t | 787 | `((t |