Variable: button-mode

button-mode is a buffer-local variable defined in button.el.gz.

Documentation

Non-nil if Button mode is enabled.

Use the command button-mode(var)/button-mode(fun) to change this variable.

View in manual

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
(define-minor-mode button-mode
  "A minor mode for navigating to buttons with the TAB key.

Disabling the mode will remove all buttons in the current buffer."
  :keymap button-buffer-map
  (when (not button-mode)
    (save-excursion
      (save-restriction
        (widen)
        (unbuttonize-region (point-min) (point-max))))))