# HG changeset patch # User Richard M. Stallman # Date 1164680398 0 # Node ID 0c96941203c0e7a1292b3f088498548f2ee3c332 # Parent 548fcfa53e5e111c2a9aa7d8027f2e300856d25a (facemenu-add-new-face): Improve doc strings of constructed commands. diff -r 548fcfa53e5e -r 0c96941203c0 lisp/facemenu.el --- a/lisp/facemenu.el Tue Nov 28 02:19:20 2006 +0000 +++ b/lisp/facemenu.el Tue Nov 28 02:19:58 2006 +0000 @@ -685,8 +685,11 @@ 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))