diff options
-rw-r--r-- | init/km-org.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/init/km-org.el b/init/km-org.el index 7588667..942fd5a 100644 --- a/init/km-org.el +++ b/init/km-org.el @@ -146,5 +146,9 @@ (setq org-catch-invisible-edits 'error) -(add-hook 'message-mode-hook 'turn-on-orgstruct++) -(add-hook 'magit-log-edit-mode-hook 'turn-on-orgstruct++) +(defun km/load-orgstruct () + (turn-on-orgstruct++) + (turn-on-orgtbl)) + +(add-hook 'message-mode-hook 'km/load-orgstruct) +(add-hook 'magit-log-edit-mode-hook 'km/load-orgstruct) |