(rmail-edit-map): Inherit properly from text-mode-map;
use the whole thing, not its cdr.
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user