diff options
| author | Lars Magne Ingebrigtsen | 2012-01-07 07:00:56 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2012-01-07 07:00:56 +0100 |
| commit | 29232a68e057e6fe47508f24e2fe713ae0cfa0c3 (patch) | |
| tree | 568973fea1a109f76fe94f7d644747bb9c7d13fc | |
| parent | 4e5d086de65e6cab4bf68339381da1bac2d01583 (diff) | |
| download | emacs-29232a68e057e6fe47508f24e2fe713ae0cfa0c3.tar.gz emacs-29232a68e057e6fe47508f24e2fe713ae0cfa0c3.zip | |
* faces.el (set-face-attribute): Clarify the meaning of the nil frame.
Fixes: debbugs:10294
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/faces.el | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0ab5d2f2f9..18605c2735c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * faces.el (set-face-attribute): Clarify the meaning of the nil | ||
| 4 | frame (bug#10294). | ||
| 5 | |||
| 3 | * subr.el (with-selected-frame): Mention that the selected frame | 6 | * subr.el (with-selected-frame): Mention that the selected frame |
| 4 | is restored (bug#9980). | 7 | is restored (bug#9980). |
| 5 | 8 | ||
diff --git a/lisp/faces.el b/lisp/faces.el index 86c9c8a669e..5d406ad7c0b 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -557,9 +557,10 @@ If FACE is a face-alias, get the documentation for the target face." | |||
| 557 | (defun set-face-attribute (face frame &rest args) | 557 | (defun set-face-attribute (face frame &rest args) |
| 558 | "Set attributes of FACE on FRAME from ARGS. | 558 | "Set attributes of FACE on FRAME from ARGS. |
| 559 | 559 | ||
| 560 | FRAME nil means change attributes on all frames. FRAME t means change | 560 | If FRAME is nil this function sets the attributes for all |
| 561 | the default for new frames (this is done automatically each time an | 561 | existing frames, and the default for new frames. If FRAME is t, |
| 562 | attribute is changed on all frames). | 562 | change the default for new frames (this is done automatically |
| 563 | each time an attribute is changed on all frames). | ||
| 563 | 564 | ||
| 564 | ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid | 565 | ARGS must come in pairs ATTRIBUTE VALUE. ATTRIBUTE must be a valid |
| 565 | face attribute name. All attributes can be set to `unspecified'; | 566 | face attribute name. All attributes can be set to `unspecified'; |