[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116594: Doc fix for `face-spec-set'.
From: |
Xue Fuqiao |
Subject: |
[Emacs-diffs] trunk r116594: Doc fix for `face-spec-set'. |
Date: |
Fri, 28 Feb 2014 04:17:20 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116594 [merge]
revision-id: address@hidden
parent: address@hidden
parent: address@hidden
committer: Xue Fuqiao <address@hidden>
branch nick: trunk
timestamp: Fri 2014-02-28 12:17:11 +0800
message:
Doc fix for `face-spec-set'.
* doc/lispref/display.texi (Defining Faces): Doc fix for
`face-spec-set'.
* etc/NEWS: Copyedit.
modified:
doc/lispref/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6155
doc/lispref/display.texi
display.texi-20091113204419-o5vbwnq5f7feedwu-6172
etc/NEWS news-20100311060928-aoit31wvzf25yr1z-1
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2014-02-28 01:49:25 +0000
+++ b/doc/lispref/ChangeLog 2014-02-28 04:15:21 +0000
@@ -1,5 +1,7 @@
2014-02-28 Xue Fuqiao <address@hidden>
+ * display.texi (Defining Faces): Doc fix for `face-spec-set'.
+
* elisp.texi (Top):
* commands.texi (Generic Commands):
(Defining Commands): Document `define-alternatives'.
=== modified file 'doc/lispref/display.texi'
--- a/doc/lispref/display.texi 2014-02-27 14:09:26 +0000
+++ b/doc/lispref/display.texi 2014-02-28 04:15:21 +0000
@@ -2359,16 +2359,20 @@
@var{spec} should be a face spec, as described in the above
documentation for @code{defface}.
+This function also defines @var{face} as a valid face name if it is
+not already one, and (re)calculates its attributes on existing frames.
+
@cindex override spec @r{(for a face)}
The argument @var{spec-type} determines which spec to set. If it is
@code{nil} or @code{face-override-spec}, this function sets the
@dfn{override spec}, which overrides over all other face specs on
address@hidden If it is @code{face-defface-spec}, this function sets the
-default face spec (the same one set by @code{defface}). If it is
address@hidden, this function clears out all customization specs and
-override specs from @var{face} (in this case, the value of @var{spec}
-is ignored). Any other value of @var{spec-type} is reserved for
-internal use.
address@hidden If it is @code{customized-face} or @code{saved-face},
+this function sets the customized spec or the saved custom spec. If
+it is @code{face-defface-spec}, this function sets the default face
+spec (the same one set by @code{defface}). If it is @code{reset},
+this function clears out all customization specs and override specs
+from @var{face} (in this case, the value of @var{spec} is ignored).
+Any other value of @var{spec-type} is reserved for internal use.
@end defun
@node Attribute Functions
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2014-02-28 03:02:50 +0000
+++ b/etc/NEWS 2014-02-28 04:15:21 +0000
@@ -278,6 +278,13 @@
`display-buffer' choose or make a window at the bottom of the selected
frame.
+*** New display action function `display-buffer-no-window' to not
+display the buffer in a window.
+
+*** New display action alist entry `allow-no-window' to indicate the
+caller of `display-buffer' is ready to handle the case of not
+displaying the buffer in a window.
+
** Lisp evaluation changes
+++
*** `eval-defun' on an already defined defcustom calls the :set function,
@@ -1224,15 +1231,6 @@
*** The hook `term-setup-hook' is obsolete. It is entirely equivalent
to `emacs-startup-hook'. See also the new `tty-setup-hook'.
-** Window Handling
-
-*** New display action function `display-buffer-no-window' to not
-display the buffer in a window.
-
-*** New display action alist entry `allow-no-window' to indicate the
-caller of `display-buffer' is ready to handle the case of not
-displaying the buffer in a window.
-
** New hook `pre-redisplay-function'.
+++
@@ -1353,6 +1351,7 @@
** Face changes
++++
*** The function `face-spec-set' is now like `setq' for face specs.
Its third arg now accepts values specifying a face spec type (defface,
custom, or override spec), and the relevant spec is set accordingly.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116594: Doc fix for `face-spec-set'.,
Xue Fuqiao <=