diff options
author | Thanos Apollo <[email protected]> | 2024-02-17 11:14:04 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-17 11:14:57 +0200 |
commit | 84f3fc35e2b17473571beb37a62174554b40257f (patch) | |
tree | 29743424536513ed4afc523db4389580e3597512 /gnosis.el | |
parent | 855173d0a3b3dd77e3d48a0f271e71304a0ea9ca (diff) |
[fix] Change symbols to strings for ido-completing-read
Change gnosis-note-types & gnosis-edit-note values to strings to work
with ido-completing-read
gnosis-note-types need to be strings to work with ido-completing-read
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -116,7 +116,7 @@ to \"push\" will execute the command 'git push'." (defconst gnosis-db-version 1 "Gnosis database version.") -(defvar gnosis-note-types '(MCQ Cloze Basic Double y-or-n) +(defvar gnosis-note-types '("MCQ" "Cloze" "Basic" "Double" "y-or-n") "Gnosis available note types.") ;;; Faces @@ -1080,7 +1080,7 @@ NOTES: List of note ids" (defun gnosis-edit-note (id) "Edit note with value of id ID." - (pcase (funcall gnosis-completing-read-function "Edit: " '(contents ef) nil t) + (pcase (funcall gnosis-completing-read-function "Edit: " '("contents" "ef") nil t) ("contents" (gnosis-edit-note-contents id)) ("ef" (gnosis-edit-ef id)) (_ (message "No such value.")))) |