branch: externals/org-gnosis
commit 64730a608e30f11312641a85fca4cf08deb4ef5c
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    completing-read-func: Use org-completing-read.
---
 org-gnosis.el | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/org-gnosis.el b/org-gnosis.el
index 80d05eebda..39319ad767 100644
--- a/org-gnosis.el
+++ b/org-gnosis.el
@@ -42,7 +42,7 @@
   :group 'org-gnosis)
 
 (defcustom org-gnosis-journal-templates
-  '(("default" "* Daily Notes\n\n* Goals\n+ []")
+  '(("Default" "* Daily Notes\n\n* Goals\n+ []")
     ("Empty" ""))
   "Template for journaling."
   :type 'string
@@ -58,13 +58,7 @@
   :type 'boolean
   :group 'org-gnosis)
 
-(defcustom org-gnosis-completing-read-func
-  (cond ((or (bound-and-true-p ivy-mode)
-            (bound-and-true-p helm-mode)
-            (bound-and-true-p vertico-mode)
-            (bound-and-true-p fido-mode))
-        #'completing-read)
-       (t #'ido-completing-read))
+(defcustom org-gnosis-completing-read-func #'org-completing-read
   "Function to use for `completing-read'."
   :type 'function
   :group 'gnosis)

Reply via email to