From 64730a608e30f11312641a85fca4cf08deb4ef5c Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 16 Dec 2024 02:51:57 +0200 Subject: completing-read-func: Use org-completing-read. --- org-gnosis.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'org-gnosis.el') diff --git a/org-gnosis.el b/org-gnosis.el index 80d05ee..39319ad 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) -- cgit v1.2.3