org: change how paths are defined

This commit is contained in:
Henrik Lissner 2016-10-21 23:57:51 +02:00
parent 36781adb56
commit 5e8fa54b89
4 changed files with 21 additions and 11 deletions

View file

@ -58,6 +58,10 @@
(format "%s/cache/%s" doom-private-dir (system-name))
"Hostname-based elisp temp directories")
(defconst doom-org-dir
(expand-file-name "~/org")
"Where to find org notes")
;; window-system is deprecated. Not on my watch!
(unless (boundp 'window-system)
(defvar window-system (framep-on-display)))