From 5d78874a92f48fa24ebddcc11eeda9f4ff2968c4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 13 Apr 2016 15:34:29 +0200 Subject: Store org-id-locations in a special place --- emacs/.emacs.d/Makefile | 5 ++++- emacs/.emacs.d/init.org | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/Makefile b/emacs/.emacs.d/Makefile index 4c731b1..441956e 100644 --- a/emacs/.emacs.d/Makefile +++ b/emacs/.emacs.d/Makefile @@ -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 diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index ba850f8..02fc070 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -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 -- cgit v1.2.3-54-g00ecf