diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-09-30 21:53:25 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-09-30 21:53:25 -0400 |
commit | 35a1a360cb60b327d6ae5e6d2972be2bca7c3c1a (patch) | |
tree | bd334d9d1224210a0fdb934f566cde2f1c8b9601 /lisp | |
parent | 1beb06032af10a17d168bae2505dd3290ee31691 (diff) | |
download | emacs.d-35a1a360cb60b327d6ae5e6d2972be2bca7c3c1a.tar.gz |
Use different git-commit-mode hook for orgstruct
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-org.el | 4 |
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) |