changeset 92210:692687f5f1ca

(describe-variable): Add phrases about initialization file with and without customization; use new button type help-info-variable.
author Robert J. Chassell <bob@rattlesnake.com>
date Mon, 25 Feb 2008 16:30:31 +0000
parents 6d942f0a4f74
children a1afa11e3c51
files lisp/help-mode.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-mode.el	Mon Feb 25 16:06:08 2008 +0000
+++ b/lisp/help-mode.el	Mon Feb 25 16:30:31 2008 +0000
@@ -159,6 +159,12 @@
   '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