summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-30 02:47:52 -0400
committerKyle Meyer <kyle@kyleam.com>2014-03-30 02:47:52 -0400
commit4fbc5014f61c424fd7be9303a9520ff059370832 (patch)
tree13c8d9ae39620dce6cc0a4b93829cd35b31b9668 /lisp
parent5b5b21c1896e66907218bde4b697dfc8551f8429 (diff)
downloademacs.d-4fbc5014f61c424fd7be9303a9520ff059370832.tar.gz
Update Bog settings for new minor mode
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-bog.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/init-bog.el b/lisp/init-bog.el
index 49dcff0..1d88dd6 100644
--- a/lisp/init-bog.el
+++ b/lisp/init-bog.el
@@ -1,9 +1,10 @@
-(require 'bog)
+(setq bog-keymap-prefix (kbd "C-c b"))
(setq bog-completing-read 'ido-completing-read
bog-read-file-name 'ido-read-file-name)
-(eval-after-load 'org
- '(define-key org-mode-map (kbd "C-c b") bog-mode-map))
+(autoload 'bog-mode "bog")
+
+(add-hook 'org-mode-hook 'bog-mode)
(provide 'init-bog)