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