summaryrefslogtreecommitdiff
path: root/lisp/facemenu.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-11-28 02:19:58 +0000
committerRichard M. Stallman <rms@gnu.org>2006-11-28 02:19:58 +0000
commit3187841b68e57047707eafff21a3002109aa81b3 (patch)
tree56cfe55a7aa2265d87349a3e6535551ae88ca82e /lisp/facemenu.el
parent4c1793001c2b390bec48ef42f023887558e48e6e (diff)
downloademacs-3187841b68e57047707eafff21a3002109aa81b3.tar.gz
(facemenu-add-new-face): Improve doc strings of constructed commands.
Diffstat (limited to 'lisp/facemenu.el')
-rw-r--r--lisp/facemenu.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 13cf7fbd734..3db19342304 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -685,8 +685,11 @@ This is called whenever you create a new face, and at other times."
symbol (intern name)))
(setq menu 'facemenu-face-menu)
(setq docstring
- (format "Select face `%s' for subsequent insertion."
- name))
+ (format "Select face `%s' for subsequent insertion.
+If the mark is active and there is no prefix argument,
+apply face `%s' to the region instead.
+This command was defined by `facemenu-add-new-face'."
+ name name))
(cond ((facemenu-iterate ; check if equivalent face is already in the menu
(lambda (m) (and (listp m)
(symbolp (car m))