terminals, including @command{xterm}. (Hence, you can actually run
Emacs inside an Emacs Term window.)
- The @code{term-face} face specifies the default appearance of text
+ The @code{term} face specifies the default appearance of text
in the terminal emulator (the default is the same appearance as the
@code{default} face). When terminal control codes are used to change
the appearance of text, these are represented in the terminal emulator
** Term
+++
*** The variables `term-default-fg-color' and `term-default-bg-color' are
-now deprecated in favor of the customizable `term-face' face.
+now deprecated in favor of the customizable face `term'.
*** You can customize how to display ANSI terminal colors and styles
by customizing the corresponding `term-color-<COLOR>',
+2012-11-10 Glenn Morris <rgm@gnu.org>
+
+ * 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.
+
2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
* server.el (server-create-window-system-frame): Improved comment.
"A queue of strings whose echo we want suppressed.")
(defvar term-terminal-parameter)
(defvar term-terminal-previous-parameter)
-(defvar term-current-face 'term-face)
+(defvar term-current-face 'term)
(defvar term-scroll-start 0 "Top-most line (inclusive) of scrolling region.")
(defvar term-scroll-end) ; Number of line (zero-based) after scrolling region.
(defvar term-pager-count nil
;;; Faces
(defvar ansi-term-color-vector
- [term-face
+ [term
term-color-black
term-color-red
term-color-green
(defcustom term-default-fg-color nil
"If non-nil, default color for foreground in Term mode.
-This is deprecated in favor of customizing the `term-face' face."
+This is deprecated in favor of customizing the `term' face."
:group 'term
:type 'string)
(defcustom term-default-bg-color nil
"If non-nil, default color for foreground in Term mode.
-This is deprecated in favor of customizing the `term-face' face."
+This is deprecated in favor of customizing the `term' face."
:group 'term
:type 'string)
-(defface term-face
+(defface term
`((t
:foreground ,term-default-fg-color
:background ,term-default-bg-color
dt))
(defun term-ansi-reset ()
- (setq term-current-face 'term-face)
+ (setq term-current-face 'term)
(setq term-ansi-current-underline nil)
(setq term-ansi-current-bold nil)
(setq term-ansi-current-reverse nil)