changeset 22408:500bc7f67524

(apropos-print): The cross ref for a variable should always do just describe-variable.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Jun 1998 03:47:42 +0000
parents e7ec3ed4c814
children 382becc612e1
files lisp/apropos.el
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Tue Jun 09 03:47:04 1998 +0000
+++ b/lisp/apropos.el	Tue Jun 09 03:47:42 1998 +0000
@@ -589,11 +589,12 @@
 				   "Macro"
 				 "Function"))
 			     t)
-	  (if (get symbol 'custom-type)
-	      (apropos-print-doc 'customize-variable-other-window 2
-				 "User Option" t)
-	    (apropos-print-doc 'describe-variable 2
-			       "Variable" t))
+	  ;; We used to use customize-variable-other-window instead
+	  ;; for a customizable variable, but that is slow.
+	  ;; It is better to show an ordinary help buffer
+	  ;; and let the user click on the customization button
+	  ;; in that buffer, if he wants to.
+	  (apropos-print-doc 'describe-variable 2 "Variable" t)
 	  (apropos-print-doc 'customize-group-other-window 6 "Group" t)
 	  (apropos-print-doc 'customize-face-other-window 5 "Face" t)
 	  (apropos-print-doc 'widget-browse-other-window 4 "Widget" t)