summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-06-09 03:47:42 +0000
committerRichard M. Stallman <rms@gnu.org>1998-06-09 03:47:42 +0000
commite01f3ceb4b1ed053087f86b671d7d6d1a7f75f41 (patch)
treea06fa0a8fdc8695bae12de5da8c4634f3b1a218c /lisp/apropos.el
parent6a9ff8615d1fc354e00347b7631a05072caf934d (diff)
downloademacs-e01f3ceb4b1ed053087f86b671d7d6d1a7f75f41.tar.gz
(apropos-print): The cross ref for a variable
should always do just describe-variable.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 0dfdbcea003..1702cc3097a 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -589,11 +589,12 @@ found."
"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)