mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
Mark +org-dir obsolete (use org-directory instead)
I prefer not to invent new variables when they aren't strictly necessary. org-directory is one such variable (although the other path variables are still necessary).
This commit is contained in:
@@ -29,10 +29,8 @@
|
||||
|
||||
|
||||
(defun +org|init-capture ()
|
||||
(defvaralias 'org-default-notes-file '+org-default-notes-file)
|
||||
|
||||
(setq org-default-notes-file (expand-file-name +org-default-notes-file +org-dir)
|
||||
+org-default-todo-file (expand-file-name +org-default-todo-file +org-dir))
|
||||
(setq org-default-notes-file (expand-file-name +org-default-notes-file org-directory)
|
||||
+org-default-todo-file (expand-file-name +org-default-todo-file org-directory))
|
||||
|
||||
(add-hook 'org-capture-after-finalize-hook #'+org-capture|cleanup-frame)
|
||||
|
||||
|
Reference in New Issue
Block a user