mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(help-customize-face): New button-type.
This commit is contained in:
parent
8940232b59
commit
07f904a3f2
2 changed files with 18 additions and 1 deletions
|
|
@ -97,6 +97,14 @@ The format is (FUNCTION ARGS...).")
|
|||
'help-echo (purecopy "mouse-2, RET: customize variable")
|
||||
'action #'help-button-action)
|
||||
|
||||
(define-button-type 'help-customize-face
|
||||
'help-function (lambda (v)
|
||||
(if help-xref-stack
|
||||
(pop help-xref-stack))
|
||||
(customize-face v))
|
||||
'help-echo (purecopy "mouse-2, RET: customize face")
|
||||
'action #'help-button-action)
|
||||
|
||||
(define-button-type 'help-function-def
|
||||
'help-function (lambda (fun file)
|
||||
(require 'find-func)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue