summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-04-21 08:24:50 -0400
committerKyle Meyer <kyle@kyleam.com>2017-04-22 00:30:08 -0400
commit7d2ab3c18e8d3e4a878a02d10d2566737833210b (patch)
treee3413946faa3624fcdfcd34de26622da03f1bac5
parent7990b059ecc9149d529dd3998bdb8401e050d9ff (diff)
downloademacs.d-7d2ab3c18e8d3e4a878a02d10d2566737833210b.tar.gz
org: Make sure Info-directory-list is set up before modifying it
info-initialize is currently called prior to Org's :init being executed, but this seems to be dependent on Cask, which will be removed in the next commit.
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index 0a2a06b..0083508 100644
--- a/init.el
+++ b/init.el
@@ -102,7 +102,9 @@
:init
(require 'org-loaddefs)
(add-to-list 'load-path "~/src/emacs/org-mode/contrib/lisp/" t)
- (add-to-list 'Info-directory-list "~/src/emacs/org-mode/doc/")
+ (after 'info
+ (info-initialize)
+ (add-to-list 'Info-directory-list "~/src/emacs/org-mode/doc/"))
(bind-keys :map km/global-org-map
("b" . org-iswitchb)
("l" . org-store-link)