aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term.el
diff options
context:
space:
mode:
authorEli Zaretskii2012-11-13 16:17:18 +0200
committerEli Zaretskii2012-11-13 16:17:18 +0200
commit3c4ca7155293ffc2d04708007131bcbc882d8913 (patch)
tree61787be8cd43b6fb3d5159852fbd186eea404de7 /lisp/term.el
parent5ade42a5114255c43117065494b96d480c1e1588 (diff)
parentc708524567662c8911c5ab2695acc7bda0383705 (diff)
downloademacs-3c4ca7155293ffc2d04708007131bcbc882d8913.tar.gz
emacs-3c4ca7155293ffc2d04708007131bcbc882d8913.zip
Merge from trunk.
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el18
1 files changed, 10 insertions, 8 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 7567bd38f5a..e6466b8fa95 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
@@ -770,18 +770,20 @@ 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."
774This is deprecated in favor of customizing the `term-face' 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."
780This is deprecated in favor of customizing the `term-face' 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-face 786(defface term
785 `((t 787 `((t
786 :foreground ,term-default-fg-color 788 :foreground ,term-default-fg-color
787 :background ,term-default-bg-color 789 :background ,term-default-bg-color
@@ -988,7 +990,7 @@ is buffer-local."
988 dt)) 990 dt))
989 991
990(defun term-ansi-reset () 992(defun term-ansi-reset ()
991 (setq term-current-face 'term-face) 993 (setq term-current-face 'term)
992 (setq term-ansi-current-underline nil) 994 (setq term-ansi-current-underline nil)
993 (setq term-ansi-current-bold nil) 995 (setq term-ansi-current-bold nil)
994 (setq term-ansi-current-reverse nil) 996 (setq term-ansi-current-reverse nil)