diff lisp/cus-edit.el @ 33110:10379d59910e custom_themes_branchpoint

(custom-mode-map): Switch back to a sparse keymap.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 31 Oct 2000 21:06:51 +0000
parents 42e118959715
children 77d48dfb2b29
line wrap: on
line diff
--- a/lisp/cus-edit.el	Tue Oct 31 18:48:19 2000 +0000
+++ b/lisp/cus-edit.el	Tue Oct 31 21:06:51 2000 +0000
@@ -3661,7 +3661,9 @@
   "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)