summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-10-31 21:06:51 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-10-31 21:06:51 +0000
commit3729f54bf45c4c534c2b9bd51ff0f39f200c88c2 (patch)
tree2963e5a2d9df0cb04335bd7ba318a337b1a691e0
parent57cda954d388b6996b6f55821697a2097edce4a2 (diff)
downloademacs-3729f54bf45c4c534c2b9bd51ff0f39f200c88c2.tar.gz
(custom-mode-map): Switch back to a sparse keymap.custom_themes_branchpoint
-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 3208dc9ddac..c7b0960c2ed 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)