From: Richard M. Stallman Date: Tue, 28 Nov 2006 02:19:58 +0000 (+0000) Subject: (facemenu-add-new-face): Improve doc strings of constructed commands. X-Git-Tag: emacs-pretest-22.0.92~427 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3187841b68e57047707eafff21a3002109aa81b3;p=emacs.git (facemenu-add-new-face): Improve doc strings of constructed commands. --- 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))