From d4dd5c5da0f228c309084c31e3e38ec8207b2691 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 1 Jul 2010 09:52:00 +0100 Subject: [PATCH] Don't run magit-log-edit-mode-hook twice. --- magit.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/magit.el b/magit.el index 163ac635..996314fa 100644 --- a/magit.el +++ b/magit.el @@ -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