diff options
author | Thanos Apollo <[email protected]> | 2024-12-16 02:51:57 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-12-16 02:51:57 +0200 |
commit | 64730a608e30f11312641a85fca4cf08deb4ef5c (patch) | |
tree | 8393cd7312d6192ea03ac023c08a016115f1a868 | |
parent | 76a399fedcb422193376e9f90ef2adee8d01f955 (diff) |
completing-read-func: Use org-completing-read.
-rw-r--r-- | org-gnosis.el | 10 |
1 files changed, 2 insertions, 8 deletions
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) |