Mercurial > emacs
changeset 75579:5e69c78ab3f4
(internal-find-face, internal-get-face): Doc fixes.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 01 Feb 2007 00:35:40 +0000 |
parents | 11d6ebb788a6 |
children | 8630d513892d |
files | lisp/faces.el |
diffstat | 1 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/faces.el Wed Jan 31 19:28:35 2007 +0000 +++ b/lisp/faces.el Thu Feb 01 00:35:40 2007 +0000 @@ -181,20 +181,16 @@ (defun internal-find-face (name &optional frame) "Retrieve the face named NAME. Return nil if there is no such face. -If the optional argument FRAME is given, this gets the face NAME for -that frame; otherwise, it uses the selected frame. -If FRAME is the symbol t, then the global, non-frame face is returned. -If NAME is already a face, it is simply returned." +If NAME is already a face, it is simply returned. +The optional argument FRAME is ignored." (facep name)) (make-obsolete 'internal-find-face 'facep "21.1") (defun internal-get-face (name &optional frame) "Retrieve the face named NAME; error if there is none. -If the optional argument FRAME is given, this gets the face NAME for -that frame; otherwise, it uses the selected frame. -If FRAME is the symbol t, then the global, non-frame face is returned. -If NAME is already a face, it is simply returned." +If NAME is already a face, it is simply returned. +The optional argument FRAME is ignored." (or (facep name) (check-face name))) (make-obsolete 'internal-get-face "see `facep' and `check-face'." "21.1")