From 39a897a583050f5d994e00c829513c647b356cdb Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 1 Feb 2007 00:39:02 +0000 Subject: [PATCH] (internal-find-face, internal-get-face): Doc fixes. --- lisp/ChangeLog | 4 ++++ 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 @@ +2007-02-01 Juanma Barranquero + + * faces.el (internal-find-face, internal-get-face): Doc fixes. + 2007-01-31 Juanma Barranquero * 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." (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")