From 3187841b68e57047707eafff21a3002109aa81b3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 28 Nov 2006 02:19:58 +0000 Subject: [PATCH] (facemenu-add-new-face): Improve doc strings of constructed commands. --- lisp/facemenu.el | 7 +++++-- 1 file 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)) -- 2.39.2