Document inform button reimplementations
This commit is contained in:
parent
85e2709fdb
commit
0922e1f3bf
@ -6027,20 +6027,22 @@ buffers:
|
||||
:straight (:host github :repo "dieter-wilhelm/inform")
|
||||
:defer 0
|
||||
:config
|
||||
(define-button-type 'inform-function
|
||||
:supertype 'inform-xref
|
||||
'inform-function 'helpful-function
|
||||
'inform-echo (purecopy "mouse-2, RET: describe this function"))
|
||||
;; If Helpful is installed, link to Helpful buffers instead of vanilla help
|
||||
(with-eval-after-load 'helpful
|
||||
(define-button-type 'inform-function
|
||||
:supertype 'inform-xref
|
||||
'inform-function 'helpful-function
|
||||
'inform-echo (purecopy "mouse-2, RET: describe this function"))
|
||||
|
||||
(define-button-type 'inform-variable
|
||||
:supertype 'inform-xref
|
||||
'inform-function 'helpful-variable
|
||||
'inform-echo (purecopy "mouse-2, RET: describe this variable"))
|
||||
(define-button-type 'inform-variable
|
||||
:supertype 'inform-xref
|
||||
'inform-function 'helpful-variable
|
||||
'inform-echo (purecopy "mouse-2, RET: describe this variable"))
|
||||
|
||||
(define-button-type 'inform-symbol
|
||||
:supertype 'inform-xref
|
||||
'inform-function #'helpful-symbol
|
||||
'inform-echo (purecopy "mouse-2, RET: describe this symbol")))
|
||||
(define-button-type 'inform-symbol
|
||||
:supertype 'inform-xref
|
||||
'inform-function #'helpful-symbol
|
||||
'inform-echo (purecopy "mouse-2, RET: describe this symbol"))))
|
||||
#+END_SRC
|
||||
|
||||
* Vuiet
|
||||
|
Loading…
Reference in New Issue
Block a user