aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-12-11 11:09:33 +0000
committerJuri Linkov2005-12-11 11:09:33 +0000
commitd4c6530fc5e434228fc310b36483c04c94c8a745 (patch)
tree51c4b193736a33ce9b44d9bf8dc18a41dfc2dcb8
parent63ec4f943f142b0e0f8324d9fb75b6abf059e816 (diff)
downloademacs-d4c6530fc5e434228fc310b36483c04c94c8a745.tar.gz
emacs-d4c6530fc5e434228fc310b36483c04c94c8a745.zip
(frame-background-mode): Replace `choice-item' keywords
with `const' to not make [default] button. Change default value tag from `default' to `automatic'. Doc fix. (trailing-whitespace) <defface>: Change group `whitespace' to `whitespace-faces'.
-rw-r--r--lisp/ChangeLog17
-rw-r--r--lisp/faces.el14
2 files changed, 24 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 06ec64917ab..9fe14112305 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,20 @@
12005-12-11 Juri Linkov <juri@jurta.org>
2
3 * frame.el (set-background-color, set-foreground-color)
4 (set-cursor-color, set-mouse-color, set-border-color):
5 Add explicit prompts to read colors by `facemenu-read-color'.
6 (show-trailing-whitespace, blink-cursor-delay)
7 (blink-cursor-interval, display-hourglass, hourglass-delay):
8 Remove tags.
9 (display-hourglass, hourglass-delay): Doc fix.
10 (cursor-in-non-selected-windows): Capitalize words in tag.
11
12 * faces.el (frame-background-mode): Replace `choice-item' keywords
13 with `const' to not make [default] button. Change default value tag
14 from `default' to `automatic'. Doc fix.
15 (trailing-whitespace) <defface>: Change group `whitespace' to
16 `whitespace-faces'.
17
12005-12-11 Richard M. Stallman <rms@gnu.org> 182005-12-11 Richard M. Stallman <rms@gnu.org>
2 19
3 * buff-menu.el (Buffer-menu-sort-column): Not a user variable. 20 * buff-menu.el (Buffer-menu-sort-column): Not a user variable.
diff --git a/lisp/faces.el b/lisp/faces.el
index acb91ad1ed1..013ca673e19 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1577,17 +1577,17 @@ If omitted or nil, that stands for the selected frame's display."
1577(defcustom frame-background-mode nil 1577(defcustom frame-background-mode nil
1578 "*The brightness of the background. 1578 "*The brightness of the background.
1579Set this to the symbol `dark' if your background color is dark, 1579Set this to the symbol `dark' if your background color is dark,
1580`light' if your background is light, or nil (default) if you want Emacs 1580`light' if your background is light, or nil (automatic by default)
1581to examine the brightness for you. Don't set this variable with `setq'; 1581if you want Emacs to examine the brightness for you. Don't set this
1582this won't have the expected effect." 1582variable with `setq'; this won't have the expected effect."
1583 :group 'faces 1583 :group 'faces
1584 :set #'(lambda (var value) 1584 :set #'(lambda (var value)
1585 (set-default var value) 1585 (set-default var value)
1586 (mapc 'frame-set-background-mode (frame-list))) 1586 (mapc 'frame-set-background-mode (frame-list)))
1587 :initialize 'custom-initialize-changed 1587 :initialize 'custom-initialize-changed
1588 :type '(choice (choice-item dark) 1588 :type '(choice (const dark)
1589 (choice-item light) 1589 (const light)
1590 (choice-item :tag "default" nil))) 1590 (const :tag "automatic" nil)))
1591 1591
1592(defvar default-frame-background-mode nil 1592(defvar default-frame-background-mode nil
1593 "Internal variable for the default brightness of the background. 1593 "Internal variable for the default brightness of the background.
@@ -1983,7 +1983,7 @@ created."
1983 (t :inverse-video t)) 1983 (t :inverse-video t))
1984 "Basic face for highlighting trailing whitespace." 1984 "Basic face for highlighting trailing whitespace."
1985 :version "21.1" 1985 :version "21.1"
1986 :group 'whitespace ; like `show-trailing-whitespace' 1986 :group 'whitespace-faces ; like `show-trailing-whitespace'
1987 :group 'basic-faces) 1987 :group 'basic-faces)
1988 1988
1989(defface escape-glyph 1989(defface escape-glyph