changeset 17559:7512243efd89

(apropos): Add support for customization groups. (apropos-print): Ditto.
author Richard M. Stallman <rms@gnu.org>
date Fri, 25 Apr 1997 18:10:43 +0000
parents 648beff801bb
children 1f4d7f741932
files lisp/apropos.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Fri Apr 25 04:59:48 1997 +0000
+++ b/lisp/apropos.el	Fri Apr 25 18:10:43 1997 +0000
@@ -215,6 +215,12 @@
 				     symbol 'face-documentation t))
 			  (substring doc 0
 				     (string-match "\n" doc))
+			"(not documented)"))
+		    (when (get symbol 'custom-group)
+		      (if (setq doc (documentation-property
+				     symbol 'group-documentation t))
+			  (substring doc 0
+				     (string-match "\n" doc))
 			"(not documented)"))))
 	 (setq p (cdr p)))))
    nil))
@@ -535,6 +541,7 @@
 				 "User Option" do-keys)
 	    (apropos-print-doc 'describe-variable 2
 			       "Variable" do-keys))
+	  (apropos-print-doc 'customize-other-window 6 "Group" do-keys)
 	  (apropos-print-doc 'customize-face-other-window 5 "Face" do-keys)
 	  (apropos-print-doc 'widget-browse-other-window 4 "Widget" do-keys)
 	  (apropos-print-doc 'apropos-describe-plist 3