aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-06-09 03:47:42 +0000
committerRichard M. Stallman1998-06-09 03:47:42 +0000
commit045c4971c770f35bea5146eda89b98c2c3a15267 (patch)
tree854bb0bec021083bd9e416320c513f3299713cd1
parent4f103eaae6b28f48c4b0fa51e3e0fb1a086a6cc5 (diff)
downloademacs-045c4971c770f35bea5146eda89b98c2c3a15267.tar.gz
emacs-045c4971c770f35bea5146eda89b98c2c3a15267.zip
(apropos-print): The cross ref for a variable
should always do just describe-variable.
-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."
589 "Macro" 589 "Macro"
590 "Function")) 590 "Function"))
591 t) 591 t)
592 (if (get symbol 'custom-type) 592 ;; We used to use customize-variable-other-window instead
593 (apropos-print-doc 'customize-variable-other-window 2 593 ;; for a customizable variable, but that is slow.
594 "User Option" t) 594 ;; It is better to show an ordinary help buffer
595 (apropos-print-doc 'describe-variable 2 595 ;; and let the user click on the customization button
596 "Variable" t)) 596 ;; in that buffer, if he wants to.
597 (apropos-print-doc 'describe-variable 2 "Variable" t)
597 (apropos-print-doc 'customize-group-other-window 6 "Group" t) 598 (apropos-print-doc 'customize-group-other-window 6 "Group" t)
598 (apropos-print-doc 'customize-face-other-window 5 "Face" t) 599 (apropos-print-doc 'customize-face-other-window 5 "Face" t)
599 (apropos-print-doc 'widget-browse-other-window 4 "Widget" t) 600 (apropos-print-doc 'widget-browse-other-window 4 "Widget" t)