From 35a1a360cb60b327d6ae5e6d2972be2bca7c3c1a Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 30 Sep 2014 21:53:25 -0400 Subject: Use different git-commit-mode hook for orgstruct --- lisp/init-org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3