From 85fb59acca6fea5e6ee25dff86afbe202deb79f0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 14 May 2020 15:16:34 -0400 Subject: [PATCH] Fix wrong-type-arg symbolp error from notes commands --- modules/config/default/autoload/files.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))