summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-06-12 22:13:49 +0300
committerThanos Apollo <[email protected]>2024-06-12 22:13:49 +0300
commitfd372ea835a2f9322d5eb99db17042aa41bf0be1 (patch)
tree8de90eb285a456cd16745068322b4ac450f5e47b /gnosis.el
parentb0a65f86b060b2e5a9e66ee830e31d1b0cec5966 (diff)
gnosis--get-deck-name: Do not inhibit history
Using gnosis-completing-read-function, storing history depending on user settings, makes it faster to add notes.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 821d5ab..58cbf7e 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -504,7 +504,7 @@ Set SPLIT to t to split all input given."
(error "No decks found. Please create a deck first with `gnosis-add-deck'"))
(if id
(gnosis-get 'name 'decks `(= id ,id))
- (gnosis-completing-read "Deck: " (gnosis-select 'name 'decks))))
+ (funcall gnosis-completing-read-function "Deck: " (gnosis-select 'name 'decks))))
(cl-defun gnosis--get-deck-id (&optional (deck (gnosis--get-deck-name)))
"Return id for DECK name."