diff options
author | Thanos Apollo <[email protected]> | 2024-06-12 22:13:49 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-06-12 22:13:49 +0300 |
commit | fd372ea835a2f9322d5eb99db17042aa41bf0be1 (patch) | |
tree | 8de90eb285a456cd16745068322b4ac450f5e47b /gnosis.el | |
parent | b0a65f86b060b2e5a9e66ee830e31d1b0cec5966 (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.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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." |