aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-07-03 15:53:33 +0000
committerRichard M. Stallman2006-07-03 15:53:33 +0000
commit3748d13d31860f6de2a308be78dafb7fcc618ad1 (patch)
tree0642387b85b00eff742cbff491bfca72735aaef0
parent9ca246175e0d609429581dea5003983a317ec6ce (diff)
downloademacs-3748d13d31860f6de2a308be78dafb7fcc618ad1.tar.gz
emacs-3748d13d31860f6de2a308be78dafb7fcc618ad1.zip
(read-face-name): Doc fix.
-rw-r--r--lisp/faces.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 2d761ea8471..0f0dd41aa69 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -860,9 +860,10 @@ of the default face. Value is FACE."
860(defun read-face-name (prompt &optional string-describing-default multiple) 860(defun read-face-name (prompt &optional string-describing-default multiple)
861 "Read a face, defaulting to the face or faces on the char after point. 861 "Read a face, defaulting to the face or faces on the char after point.
862If it has the property `read-face-name', that overrides the `face' property. 862If it has the property `read-face-name', that overrides the `face' property.
863PROMPT describes what you will do with the face (don't end in a space). 863PROMPT should be a string that describes what the caller will do with the face;
864STRING-DESCRIBING-DEFAULT describes what default you will use 864it should not end in a space.
865if this function returns nil. 865STRING-DESCRIBING-DEFAULT should describe what default the caller will use if
866the user just types RET; you can omit it.
866If MULTIPLE is non-nil, return a list of faces (possibly only one). 867If MULTIPLE is non-nil, return a list of faces (possibly only one).
867Otherwise, return a single face." 868Otherwise, return a single face."
868 (let ((faceprop (or (get-char-property (point) 'read-face-name) 869 (let ((faceprop (or (get-char-property (point) 'read-face-name)