aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2012-11-09 20:40:48 -0500
committerGlenn Morris2012-11-09 20:40:48 -0500
commit19e0987902a902967992f788e5f202ba1870d74e (patch)
tree647b9d2a39795c5ab0f3d48aa331b5aa27e3c9ae /lisp
parent02969baf0f063df25d1464e4852579f375595a8f (diff)
downloademacs-19e0987902a902967992f788e5f202ba1870d74e.tar.gz
emacs-19e0987902a902967992f788e5f202ba1870d74e.zip
Face names should not end in -face (term-face)
* lisp/term.el (term): Rename from `term-face'. (term-current-face, ansi-term-color-vector) (term-default-fg-color, term-default-bg-color, term-ansi-reset): Update all users. * doc/emacs/misc.texi (Terminal emulator): Rename `term-face' to `term'. * etc/NEWS: Related edit.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/term.el12
2 files changed, 13 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c5dd2eca746..9284fd5d5de 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12012-11-10 Glenn Morris <rgm@gnu.org>
2
3 * term.el (term): Rename from `term-face'.
4 (term-current-face, ansi-term-color-vector)
5 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6 Update all users.
7
12012-11-09 Jan Djärv <jan.h.d@swipnet.se> 82012-11-09 Jan Djärv <jan.h.d@swipnet.se>
2 9
3 * server.el (server-create-window-system-frame): Improved comment. 10 * server.el (server-create-window-system-frame): Improved comment.
diff --git a/lisp/term.el b/lisp/term.el
index 7567bd38f5a..860b5336b56 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -452,7 +452,7 @@ state 4: term-terminal-parameter contains pending output.")
452 "A queue of strings whose echo we want suppressed.") 452 "A queue of strings whose echo we want suppressed.")
453(defvar term-terminal-parameter) 453(defvar term-terminal-parameter)
454(defvar term-terminal-previous-parameter) 454(defvar term-terminal-previous-parameter)
455(defvar term-current-face 'term-face) 455(defvar term-current-face 'term)
456(defvar term-scroll-start 0 "Top-most line (inclusive) of scrolling region.") 456(defvar term-scroll-start 0 "Top-most line (inclusive) of scrolling region.")
457(defvar term-scroll-end) ; Number of line (zero-based) after scrolling region. 457(defvar term-scroll-end) ; Number of line (zero-based) after scrolling region.
458(defvar term-pager-count nil 458(defvar term-pager-count nil
@@ -759,7 +759,7 @@ Buffer local variable.")
759 759
760;;; Faces 760;;; Faces
761(defvar ansi-term-color-vector 761(defvar ansi-term-color-vector
762 [term-face 762 [term
763 term-color-black 763 term-color-black
764 term-color-red 764 term-color-red
765 term-color-green 765 term-color-green
@@ -771,17 +771,17 @@ Buffer local variable.")
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.
774This is deprecated in favor of customizing the `term-face' face." 774This is deprecated in favor of customizing the `term' face."
775 :group 'term 775 :group 'term
776 :type 'string) 776 :type 'string)
777 777
778(defcustom term-default-bg-color nil 778(defcustom term-default-bg-color nil
779 "If non-nil, default color for foreground in Term mode. 779 "If non-nil, default color for foreground in Term mode.
780This is deprecated in favor of customizing the `term-face' face." 780This is deprecated in favor of customizing the `term' face."
781 :group 'term 781 :group 'term
782 :type 'string) 782 :type 'string)
783 783
784(defface term-face 784(defface term
785 `((t 785 `((t
786 :foreground ,term-default-fg-color 786 :foreground ,term-default-fg-color
787 :background ,term-default-bg-color 787 :background ,term-default-bg-color
@@ -988,7 +988,7 @@ is buffer-local."
988 dt)) 988 dt))
989 989
990(defun term-ansi-reset () 990(defun term-ansi-reset ()
991 (setq term-current-face 'term-face) 991 (setq term-current-face 'term)
992 (setq term-ansi-current-underline nil) 992 (setq term-ansi-current-underline nil)
993 (setq term-ansi-current-bold nil) 993 (setq term-ansi-current-bold nil)
994 (setq term-ansi-current-reverse nil) 994 (setq term-ansi-current-reverse nil)