Fix wrong-type-arg symbolp error from notes commands

This commit is contained in:
Henrik Lissner
2020-05-14 15:16:34 -04:00
parent 2bdc14710f
commit 85fb59acca

View File

@ -28,14 +28,14 @@
(defun +default/browse-notes ()
"Browse files from `org-directory'."
(interactive)
(unless (bound-and-true-p '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 (bound-and-true-p 'org-directory)
(unless (bound-and-true-p org-directory)
(require 'org))
(doom-project-find-file org-directory))