summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-11-01 22:15:34 -0400
committerKyle Meyer <kyle@kyleam.com>2016-11-01 22:15:34 -0400
commitfb8fcaa08e14cc7b03dc1c676bdab59d010f0c34 (patch)
treeba634d543b2b8d95375979c9942c0cb36e839cdf
parent22d5e321086a720359db658367e7f31d91641ef6 (diff)
downloademacs.d-fb8fcaa08e14cc7b03dc1c676bdab59d010f0c34.tar.gz
bog: Don't add to org-mode-hook until first use
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index 32a4a7f..3188aba 100644
--- a/init.el
+++ b/init.el
@@ -371,11 +371,11 @@
:defer t
:init
(require 'bog-autoloads nil t)
- (after 'org
- (add-hook 'org-mode-hook #'bog-mode))
(setq bog-keymap-prefix (kbd "C-c b"))
(global-set-key bog-keymap-prefix bog-command-map)
:config
+ (add-hook 'org-mode-hook #'bog-mode)
+
(setq bog-subdirectory-group 2
bog-combined-bib-ignore-not-found t
bog-use-citekey-cache t))