diff options
| author | Stefan Monnier | 2000-10-31 21:06:51 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-10-31 21:06:51 +0000 |
| commit | b92aaee07cc8aad5f2ca82ae50c47c01094ce63f (patch) | |
| tree | cf21701d7331ada036852f8f3cb86db53c45a8d5 /lisp/cus-edit.el | |
| parent | a28afc5f9215400b899ce27a2be0e685cdc1dfb0 (diff) | |
| download | emacs-b92aaee07cc8aad5f2ca82ae50c47c01094ce63f.tar.gz emacs-b92aaee07cc8aad5f2ca82ae50c47c01094ce63f.zip | |
(custom-mode-map): Switch back to a sparse keymap.
Diffstat (limited to 'lisp/cus-edit.el')
| -rw-r--r-- | lisp/cus-edit.el | 4 |
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'." | |||
| 3661 | "Keymap for `custom-mode'.") | 3661 | "Keymap for `custom-mode'.") |
| 3662 | 3662 | ||
| 3663 | (unless custom-mode-map | 3663 | (unless custom-mode-map |
| 3664 | (setq custom-mode-map (make-keymap)) | 3664 | ;; This keymap should be dense, but a dense keymap would prevent inheriting |
| 3665 | ;; "\r" bindings from the parent map. | ||
| 3666 | (setq custom-mode-map (make-sparse-keymap)) | ||
| 3665 | (set-keymap-parent custom-mode-map widget-keymap) | 3667 | (set-keymap-parent custom-mode-map widget-keymap) |
| 3666 | (suppress-keymap custom-mode-map) | 3668 | (suppress-keymap custom-mode-map) |
| 3667 | (define-key custom-mode-map " " 'scroll-up) | 3669 | (define-key custom-mode-map " " 'scroll-up) |