aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/emacs.d/lisp
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2021-10-08 00:09:40 -0600
committerKenny Ballou <kb@devnulllabs.io>2021-10-13 10:12:41 -0600
commit473ceb0fd30cd1a8cd8976990286bb84ae74fd6a (patch)
tree54ef6d41950dd997899696e95a09d4e65b506c71 /config/emacs/emacs.d/lisp
parent0459514be063e81fa6059b48d5e615364f83536d (diff)
downloaddotfiles-473ceb0fd30cd1a8cd8976990286bb84ae74fd6a.tar.gz
dotfiles-473ceb0fd30cd1a8cd8976990286bb84ae74fd6a.tar.xz
emacs: org: specifically set org-id-locations
This occasionally gets set a file in the nix store, which then makes closing emacs impossible without resetting it. To be figured out is how it gets set to a file in the nix store. I usually often only when attempting to kill the emacs daemon, which may days or weeks after the variable has been updated. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'config/emacs/emacs.d/lisp')
-rw-r--r--config/emacs/emacs.d/lisp/init-org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/emacs/emacs.d/lisp/init-org.el b/config/emacs/emacs.d/lisp/init-org.el
index 6dc59e2e..1e4f111f 100644
--- a/config/emacs/emacs.d/lisp/init-org.el
+++ b/config/emacs/emacs.d/lisp/init-org.el
@@ -117,6 +117,7 @@
;; Various preferences
(setq org-log-done 'time)
(setq org-directory "~/.org/")
+(setq org-id-locations-file (expand-file-name (concat user-emacs-directory ".org-id-locations")))
(setq org-ellipsis "⤵")
(setq org-special-ctrl-a/e t)
(setq org-edit-timestamp-down-means-later t)