diff options
| author | Richard M. Stallman | 2006-07-03 15:53:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-07-03 15:53:33 +0000 |
| commit | 3748d13d31860f6de2a308be78dafb7fcc618ad1 (patch) | |
| tree | 0642387b85b00eff742cbff491bfca72735aaef0 | |
| parent | 9ca246175e0d609429581dea5003983a317ec6ce (diff) | |
| download | emacs-3748d13d31860f6de2a308be78dafb7fcc618ad1.tar.gz emacs-3748d13d31860f6de2a308be78dafb7fcc618ad1.zip | |
(read-face-name): Doc fix.
| -rw-r--r-- | lisp/faces.el | 7 |
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. |
| 862 | If it has the property `read-face-name', that overrides the `face' property. | 862 | If it has the property `read-face-name', that overrides the `face' property. |
| 863 | PROMPT describes what you will do with the face (don't end in a space). | 863 | PROMPT should be a string that describes what the caller will do with the face; |
| 864 | STRING-DESCRIBING-DEFAULT describes what default you will use | 864 | it should not end in a space. |
| 865 | if this function returns nil. | 865 | STRING-DESCRIBING-DEFAULT should describe what default the caller will use if |
| 866 | the user just types RET; you can omit it. | ||
| 866 | If MULTIPLE is non-nil, return a list of faces (possibly only one). | 867 | If MULTIPLE is non-nil, return a list of faces (possibly only one). |
| 867 | Otherwise, return a single face." | 868 | Otherwise, 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) |