[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110829: Face names should not end
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110829: Face names should not end in -face (term-face) |
Date: |
Fri, 09 Nov 2012 20:40:48 -0500 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110829
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Fri 2012-11-09 20:40:48 -0500
message:
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.
modified:
doc/emacs/ChangeLog
doc/emacs/misc.texi
etc/NEWS
lisp/ChangeLog
lisp/term.el
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog 2012-11-09 08:03:58 +0000
+++ b/doc/emacs/ChangeLog 2012-11-10 01:40:48 +0000
@@ -1,3 +1,7 @@
+2012-11-10 Glenn Morris <address@hidden>
+
+ * misc.texi (Terminal emulator): Rename `term-face' to `term'.
+
2012-11-09 Glenn Morris <address@hidden>
* emacs.texi (Acknowledgments): Add profiler author.
=== modified file 'doc/emacs/misc.texi'
--- a/doc/emacs/misc.texi 2012-11-07 21:04:52 +0000
+++ b/doc/emacs/misc.texi 2012-11-10 01:40:48 +0000
@@ -1209,7 +1209,7 @@
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
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2012-11-10 01:36:05 +0000
+++ b/etc/NEWS 2012-11-10 01:40:48 +0000
@@ -573,7 +573,7 @@
** 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>',
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-11-09 06:27:01 +0000
+++ b/lisp/ChangeLog 2012-11-10 01:40:48 +0000
@@ -1,3 +1,10 @@
+2012-11-10 Glenn Morris <address@hidden>
+
+ * 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 <address@hidden>
* server.el (server-create-window-system-frame): Improved comment.
=== modified file 'lisp/term.el'
--- a/lisp/term.el 2012-09-27 07:05:37 +0000
+++ b/lisp/term.el 2012-11-10 01:40:48 +0000
@@ -452,7 +452,7 @@
"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
@@ -759,7 +759,7 @@
;;; Faces
(defvar ansi-term-color-vector
- [term-face
+ [term
term-color-black
term-color-red
term-color-green
@@ -771,17 +771,17 @@
(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
@@ -988,7 +988,7 @@
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110829: Face names should not end in -face (term-face),
Glenn Morris <=