# HG changeset patch # User Stefan Monnier # Date 973026411 0 # Node ID 10379d59910e895c0b36c8b77626b39dc029a175 # Parent 4f7feff5008f6abe437394679b7841ec5b78f50e (custom-mode-map): Switch back to a sparse keymap. diff -r 4f7feff5008f -r 10379d59910e lisp/cus-edit.el --- 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)