mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 02:47:36 +00:00
(rmail-edit-map): Inherit properly from text-mode-map;
use the whole thing, not its cdr.
This commit is contained in:
parent
908d6b8719
commit
9a4cc6bd8d
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue