mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Make the button navigation commands available via a minor mode
* lisp/button.el (button-mode): New minor mode. * doc/lispref/display.texi (Button Buffer Commands): Mention it.
This commit is contained in:
parent
7bd6dd065b
commit
1ee76735a2
3 changed files with 14 additions and 0 deletions
|
|
@ -78,6 +78,10 @@
|
|||
"Keymap useful for buffers containing buttons.
|
||||
Mode-specific keymaps may want to use this as their parent keymap.")
|
||||
|
||||
(define-minor-mode button-mode
|
||||
"A minor mode for navigating to buttons with the TAB key."
|
||||
:keymap button-buffer-map)
|
||||
|
||||
;; Default properties for buttons.
|
||||
(put 'default-button 'face 'button)
|
||||
(put 'default-button 'mouse-face 'highlight)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue