Don't run magit-log-edit-mode-hook twice.
This commit is contained in:
parent
c505ef6faf
commit
d4dd5c5da0
1 changed files with 1 additions and 2 deletions
3
magit.el
3
magit.el
|
@ -3160,8 +3160,7 @@ Prefix arg means justify as well."
|
||||||
|
|
||||||
(define-derived-mode magit-log-edit-mode text-mode "Magit Log Edit"
|
(define-derived-mode magit-log-edit-mode text-mode "Magit Log Edit"
|
||||||
(set (make-local-variable 'fill-paragraph-function)
|
(set (make-local-variable 'fill-paragraph-function)
|
||||||
'magit-log-fill-paragraph)
|
'magit-log-fill-paragraph))
|
||||||
(run-mode-hooks 'magit-log-edit-mode-hook))
|
|
||||||
|
|
||||||
(defun magit-log-edit-cleanup ()
|
(defun magit-log-edit-cleanup ()
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
|
Loading…
Reference in a new issue