diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-07-20 05:21:25 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-07-20 05:21:25 +0000 |
commit | 2b7fdc5be8beb3f4525824b7b1d376d9d03f75aa (patch) | |
tree | 579ed72b76eb4701baa51c9f32a26d8fd08a2b3d /lisp | |
parent | c94cc6fb4f8a9ece18eb35137874c6564b1cf2a0 (diff) | |
download | emacs-2b7fdc5be8beb3f4525824b7b1d376d9d03f75aa.tar.gz |
(rmail-edit-map): Inherit properly from text-mode-map;
use the whole thing, not its cdr.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mail/rmailedit.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el index 86e0f251f2b..c6c355a5a8a 100644 --- a/lisp/mail/rmailedit.el +++ b/lisp/mail/rmailedit.el @@ -28,7 +28,8 @@ (defvar rmail-edit-map nil) (if rmail-edit-map nil - (setq rmail-edit-map (nconc (make-sparse-keymap) (cdr text-mode-map))) + ;; Make a keymap that inherits text-mode-map. + (setq rmail-edit-map (nconc (make-sparse-keymap) text-mode-map)) (define-key rmail-edit-map "\C-c\C-c" 'rmail-cease-edit) (define-key rmail-edit-map "\C-c\C-]" 'rmail-abort-edit)) |