changeset 4179:dfc4e9e14d24

(rmail-edit-map): Inherit properly from text-mode-map; use the whole thing, not its cdr.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Jul 1993 05:21:25 +0000
parents 57e52e312188
children 01de01b59c7f
files lisp/mail/rmailedit.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailedit.el	Tue Jul 20 05:16:51 1993 +0000
+++ b/lisp/mail/rmailedit.el	Tue Jul 20 05:21:25 1993 +0000
@@ -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))