Load org on +default/{browse,find-in}-notes if org-directory isn't set
This commit is contained in:
parent
a10c157d87
commit
06b3439627
1 changed files with 2 additions and 2 deletions
|
@ -28,14 +28,14 @@
|
|||
(defun +default/browse-notes ()
|
||||
"Browse files from `org-directory'."
|
||||
(interactive)
|
||||
(unless (boundp 'org-directory)
|
||||
(unless (bound-and-true-p 'org-directory)
|
||||
(require 'org))
|
||||
(doom-project-browse org-directory))
|
||||
;;;###autoload
|
||||
(defun +default/find-in-notes ()
|
||||
"Find a file under `org-directory', recursively."
|
||||
(interactive)
|
||||
(unless (boundp 'org-directory)
|
||||
(unless (bound-and-true-p 'org-directory)
|
||||
(require 'org))
|
||||
(doom-project-find-file org-directory))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue