diff options
| author | Juanma Barranquero | 2007-02-01 00:39:02 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-02-01 00:39:02 +0000 |
| commit | 39a897a583050f5d994e00c829513c647b356cdb (patch) | |
| tree | 13af43a9876bfa5648f7c03377788a568675e237 /lisp | |
| parent | 5de4980c740cf1a1316d104f65bf2b43cb5ecb3b (diff) | |
| download | emacs-39a897a583050f5d994e00c829513c647b356cdb.tar.gz emacs-39a897a583050f5d994e00c829513c647b356cdb.zip | |
(internal-find-face, internal-get-face): Doc fixes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/faces.el | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3385b372283..3c3e6f4dc01 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-02-01 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * faces.el (internal-find-face, internal-get-face): Doc fixes. | ||
| 4 | |||
| 1 | 2007-01-31 Juanma Barranquero <lekktu@gmail.com> | 5 | 2007-01-31 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * ido.el (ido-set-common-completion): Use `let', not `let*'. | 7 | * ido.el (ido-set-common-completion): Use `let', not `let*'. |
diff --git a/lisp/faces.el b/lisp/faces.el index 53e3b004533..6cf5d4f4d1c 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -181,20 +181,16 @@ to NEW-FACE on frame NEW-FRAME." | |||
| 181 | (defun internal-find-face (name &optional frame) | 181 | (defun internal-find-face (name &optional frame) |
| 182 | "Retrieve the face named NAME. | 182 | "Retrieve the face named NAME. |
| 183 | Return nil if there is no such face. | 183 | Return nil if there is no such face. |
| 184 | If the optional argument FRAME is given, this gets the face NAME for | 184 | If NAME is already a face, it is simply returned. |
| 185 | that frame; otherwise, it uses the selected frame. | 185 | The optional argument FRAME is ignored." |
| 186 | If FRAME is the symbol t, then the global, non-frame face is returned. | ||
| 187 | If NAME is already a face, it is simply returned." | ||
| 188 | (facep name)) | 186 | (facep name)) |
| 189 | (make-obsolete 'internal-find-face 'facep "21.1") | 187 | (make-obsolete 'internal-find-face 'facep "21.1") |
| 190 | 188 | ||
| 191 | 189 | ||
| 192 | (defun internal-get-face (name &optional frame) | 190 | (defun internal-get-face (name &optional frame) |
| 193 | "Retrieve the face named NAME; error if there is none. | 191 | "Retrieve the face named NAME; error if there is none. |
| 194 | If the optional argument FRAME is given, this gets the face NAME for | 192 | If NAME is already a face, it is simply returned. |
| 195 | that frame; otherwise, it uses the selected frame. | 193 | The optional argument FRAME is ignored." |
| 196 | If FRAME is the symbol t, then the global, non-frame face is returned. | ||
| 197 | If NAME is already a face, it is simply returned." | ||
| 198 | (or (facep name) | 194 | (or (facep name) |
| 199 | (check-face name))) | 195 | (check-face name))) |
| 200 | (make-obsolete 'internal-get-face "see `facep' and `check-face'." "21.1") | 196 | (make-obsolete 'internal-get-face "see `facep' and `check-face'." "21.1") |