Store org-id-locations in a special place

This commit is contained in:
Tom Willemse 2016-04-13 15:34:29 +02:00
parent 5ff58b1092
commit 5d78874a92
2 changed files with 14 additions and 1 deletions

View file

@ -18,7 +18,10 @@ all: init2.elc init.elc $(AUTOLOADS_FILE) $(SITE_LISPS) snippets
define tangle=
@echo -e "\e[35mOBT\e[0m $<"
@$(EMACS) $(EARGS) -l "ob-tangle" \
-eval "(org-babel-tangle-file \"$<\")"
-eval "(progn \
(setq org-id-locations-file \
(concat user-emacs-directory \"data/org-id-locations\")) \
(org-babel-tangle-file \"$<\"))"
endef
init.el: init2.el

View file

@ -709,6 +709,16 @@
Org mode offers /a lot/ of customization options. Most of mine are in
a separate file.
Store org id locations in my Emacs data directory.
#+BEGIN_SRC emacs-lisp
(use-package org-id
:defer t
:config
(setq org-id-locations-file
(concat user-emacs-directory "data/org-id-locations")))
#+END_SRC
*** Add org-mode appointments to the diary
Diary offers reminders, which can be useful when scheduling