mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
(describe-variable): Use it to make "below" a hyperlink.
This commit is contained in:
parent
bea55b5bbe
commit
cb32aefcd4
@ -552,9 +552,15 @@ it is displayed along with the global value."
|
||||
(forward-line 1)
|
||||
(forward-sexp 1)
|
||||
(delete-region (point) (progn (end-of-line) (point)))
|
||||
(insert " value is shown below.\n\n")
|
||||
(save-excursion
|
||||
(insert "\n\nValue:"))))
|
||||
(insert "\n\nValue:")
|
||||
(set (make-local-variable 'help-button-cache)
|
||||
(point-marker)))
|
||||
(insert " value is shown ")
|
||||
(insert-button "below"
|
||||
'action help-button-cache
|
||||
'help-echo "mouse-2, RET: show value")
|
||||
(insert ".\n\n")))
|
||||
;; Add a note for variables that have been make-var-buffer-local.
|
||||
(when (and (local-variable-if-set-p variable)
|
||||
(or (not (local-variable-p variable))
|
||||
|
Loading…
Reference in New Issue
Block a user