summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-09-30 21:53:25 -0400
committerKyle Meyer <kyle@kyleam.com>2014-09-30 21:53:25 -0400
commit35a1a360cb60b327d6ae5e6d2972be2bca7c3c1a (patch)
treebd334d9d1224210a0fdb934f566cde2f1c8b9601
parent1beb06032af10a17d168bae2505dd3290ee31691 (diff)
downloademacs.d-35a1a360cb60b327d6ae5e6d2972be2bca7c3c1a.tar.gz
Use different git-commit-mode hook for orgstruct
-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)