diff --git a/magit.el b/magit.el index cb9d38f1..ff33f7c0 100644 --- a/magit.el +++ b/magit.el @@ -2586,7 +2586,7 @@ branch." ;;; Log edit mode -(defvar magit-log-edit-map +(defvar magit-log-edit-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd "C-c C-c") 'magit-log-edit-commit) (define-key map (kbd "C-c C-a") 'magit-log-edit-toggle-amending) @@ -2612,8 +2612,7 @@ Prefix arg means justify as well." (define-derived-mode magit-log-edit-mode text-mode "Magit Log Edit" (set (make-local-variable 'fill-paragraph-function) - 'magit-log-fill-paragraph) - (use-local-map magit-log-edit-map)) + 'magit-log-fill-paragraph)) (defun magit-log-edit-cleanup () (save-excursion