diff --git a/modules/config/default/autoload/files.el b/modules/config/default/autoload/files.el index 35a224681..73272354c 100644 --- a/modules/config/default/autoload/files.el +++ b/modules/config/default/autoload/files.el @@ -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))