Don't run magit-log-edit-mode-hook twice.

This commit is contained in:
Leo 2010-07-01 09:52:00 +01:00 committed by Phil Jackson
parent c505ef6faf
commit d4dd5c5da0

View file

@ -3160,8 +3160,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)
(run-mode-hooks 'magit-log-edit-mode-hook))
'magit-log-fill-paragraph))
(defun magit-log-edit-cleanup ()
(save-excursion