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:
parent
a2fb6a7609
commit
353b332b72
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2020.0114.231111
|
||||
;; Version: 2020.0121.214325
|
||||
;; 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
|
||||
|
@ -49,7 +49,7 @@
|
|||
"Expand FILE-NAME to the base directory for that system.
|
||||
The base for all org files on Windows is u:/, but on my linux
|
||||
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)))
|
||||
|
||||
(defun oni-org-setup-prettify-symbols-mode ()
|
||||
|
|
Loading…
Reference in a new issue