summaryrefslogtreecommitdiff
path: root/lisp/help-mode.el
diff options
context:
space:
mode:
authorRobert J. Chassell <bob@rattlesnake.com>2008-02-25 16:31:25 +0000
committerRobert J. Chassell <bob@rattlesnake.com>2008-02-25 16:31:25 +0000
commit7f9629ce03deaa0c7b90f13368e3bc7d199f51e0 (patch)
tree122b0332b01444e0306232fb205ba1acd6e40d92 /lisp/help-mode.el
parent6a8128efceee2935c40c7d091acbd1b64f891ad1 (diff)
downloademacs-7f9629ce03deaa0c7b90f13368e3bc7d199f51e0.tar.gz
(describe-variable): Add phrases about initialization file with and
without customization; use new button type help-info-variable.
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r--lisp/help-mode.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 95ae547f457..841ad8e2512 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -159,6 +159,12 @@ The format is (FUNCTION ARGS...).")
'help-function #'help-xref-go-forward
'help-echo (purecopy "mouse-2, RET: move forward to next help buffer"))
+(define-button-type 'help-info-variable
+ :supertype 'help-xref
+ ;; the name of the variable is put before the argument to Info
+ 'help-function (lambda (a v) (info v))
+ 'help-echo (purecopy "mouse-2, RET: read this Info node"))
+
(define-button-type 'help-info
:supertype 'help-xref
'help-function #'info