aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2000-10-31 21:06:51 +0000
committerStefan Monnier <[email protected]>2000-10-31 21:06:51 +0000
commitb92aaee07cc8aad5f2ca82ae50c47c01094ce63f (patch)
treecf21701d7331ada036852f8f3cb86db53c45a8d5 /lisp/cus-edit.el
parenta28afc5f9215400b899ce27a2be0e685cdc1dfb0 (diff)
(custom-mode-map): Switch back to a sparse keymap.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 3208dc9dda..c7b0960c2e 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -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)