Variable: button-map

button-map is a variable defined in button.el.gz.

Value

<backtab>                         backward-button
<follow-link>                     mouse-face
<header-line> <mouse-2>           push-button
<header-line> <touchscreen-down>  push-button
<mode-line> <mouse-2>             push-button
<mode-line> <touchscreen-down>    push-button
<mouse-2>                         push-button
<touchscreen-down>                push-button
C-M-i                             backward-button
RET                               push-button
TAB                               forward-button

Documentation

Keymap used by buttons.

View in manual

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
(defvar-keymap button-map
  :doc "Keymap used by buttons."
  :parent button-buffer-map
  "RET" #'push-button
  "<mouse-2>" #'push-button
  "<follow-link>" 'mouse-face
  ;; FIXME: You'd think that for keymaps coming from text-properties on the
  ;; mode-line or header-line, the `mode-line' or `header-line' prefix
  ;; shouldn't be necessary!
  "<mode-line> <mouse-2>" #'push-button
  "<header-line> <mouse-2>" #'push-button
  ;; `push-button' will automatically dispatch to
  ;; `touch-screen-track-tap'.
  "<mode-line> <touchscreen-down>" #'push-button
  "<header-line> <touchscreen-down>" #'push-button
  "<touchscreen-down>" #'push-button)