summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-org.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 55421f1..cf524d7 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -230,7 +230,9 @@ to
(turn-on-orgtbl))
(add-hook 'message-mode-hook 'km/load-orgstruct)
-(add-hook 'git-commit-mode-hook 'km/load-orgstruct)
+
+(after 'git-commit-mode
+ (add-hook 'git-commit-setup-hook 'km/load-orgstruct))
(add-hook 'next-error-hook '(lambda ()
(when (eq major-mode 'org-mode)