From fd372ea835a2f9322d5eb99db17042aa41bf0be1 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 12 Jun 2024 22:13:49 +0300 Subject: 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. --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- cgit v1.2.3