Commit f52de871 authored by Alex Branham's avatar Alex Branham Committed by Eli Zaretskii

Make tabulated-list-mode-map inherit from special-mode-map

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode-map): Use
  'make-composed-keymap'.

Bug #30452
parent a2f7ed5e
Pipeline #618 failed with stage
in 60 minutes and 2 seconds
......@@ -151,8 +151,10 @@ If ADVANCE is non-nil, move forward by one line afterwards."
(forward-line)))
(defvar tabulated-list-mode-map
(let ((map (copy-keymap special-mode-map)))
(set-keymap-parent map button-buffer-map)
(let ((map (make-sparse-keymap)))
(set-keymap-parent map (make-composed-keymap
button-buffer-map
special-mode-map))
(define-key map "n" 'next-line)
(define-key map "p" 'previous-line)
(define-key map "S" 'tabulated-list-sort)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment