1
0
Fork 0

Change directory of org documents on Windows

Instead of using u: I should make a symlink to u: from my Documents to keep things consistent.
This commit is contained in:
Tom Willemse 2020-01-21 21:47:22 -08:00
parent a2fb6a7609
commit 353b332b72

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0114.231111 ;; Version: 2020.0121.214325
;; Package-Requires: (oni-yasnippet org-plus-contrib org-bullets hydra org-wild-notifier) ;; Package-Requires: (oni-yasnippet org-plus-contrib org-bullets hydra org-wild-notifier)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -49,7 +49,7 @@
"Expand FILE-NAME to the base directory for that system. "Expand FILE-NAME to the base directory for that system.
The base for all org files on Windows is u:/, but on my linux The base for all org files on Windows is u:/, but on my linux
installs it will always be ~." installs it will always be ~."
(let ((base-dir (if (eq system-type 'windows-nt) "u:/" "~"))) (let ((base-dir "~"))
(expand-file-name file-name base-dir))) (expand-file-name file-name base-dir)))
(defun oni-org-setup-prettify-symbols-mode () (defun oni-org-setup-prettify-symbols-mode ()