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
commit045c4971c770f35bea5146eda89b98c2c3a15267 (patch)
tree854bb0bec021083bd9e416320c513f3299713cd1 /lisp/apropos.el
parent4f103eaae6b28f48c4b0fa51e3e0fb1a086a6cc5 (diff)
downloademacs-045c4971c770f35bea5146eda89b98c2c3a15267.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)