Commit b92aaee0 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(custom-mode-map): Switch back to a sparse keymap.

parent a28afc5f
......@@ -3661,7 +3661,9 @@ The format is suitable for use with `easy-menu-define'."
"Keymap for `custom-mode'.")
(unless custom-mode-map
(setq custom-mode-map (make-keymap))
;; This keymap should be dense, but a dense keymap would prevent inheriting
;; "\r" bindings from the parent map.
(setq custom-mode-map (make-sparse-keymap))
(set-keymap-parent custom-mode-map widget-keymap)
(suppress-keymap custom-mode-map)
(define-key custom-mode-map " " 'scroll-up)
......
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