diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-05-24 21:38:08 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-05-24 21:46:51 -0400 |
commit | 0b8eff73a2eee987209920c3d9e66cda07fed0bb (patch) | |
tree | cf1df5e99c6fc1075336fba75d37f69b85bf3ef6 | |
parent | 9b2fa0a1184195d38cf06c33f9fbc63e99a39ccb (diff) | |
download | bog-0b8eff73a2eee987209920c3d9e66cda07fed0bb.tar.gz |
Move default notes directory to subdirectory
-rw-r--r-- | bog.el | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -94,19 +94,26 @@ default value of `org-bibtex-key-property'." :group 'bog :type 'string) -(defcustom bog-notes-directory "~/bib" +(defcustom bog-root-directory "~/bib" + "Root directory used to define default values of other Bog +directories." + :group 'bog + :type 'string) + +(defcustom bog-notes-directory + (expand-file-name "notes" bog-root-directory) "Directory with Org research notes." :group 'bog :type 'string) (defcustom bog-file-directory - (expand-file-name "citekey-files" bog-notes-directory) + (expand-file-name "citekey-files" bog-root-directory) "Directory with citekey-associated files." :group 'bog :type 'string) (defcustom bog-stage-directory - (expand-file-name "stage" bog-notes-directory) + (expand-file-name "stage" bog-root-directory) "Directory to search for new files. `bog-rename-staged-file-to-citekey' and `bog-rename-staged-bib-to-citekey' will search here for files to @@ -126,7 +133,7 @@ a single BibTeX file, `bog-bib-file', for the citekey entry." :type 'function) (defcustom bog-bib-directory - (expand-file-name "bibs" bog-notes-directory) + (expand-file-name "bibs" bog-root-directory) "The name of the directory that BibTeX files are stored in. This is only meaningful if `bog-find-citekey-bib-func' set to `bog-find-citekey-bib-file'." |