diff options
author | Thanos Apollo <[email protected]> | 2023-12-14 11:03:54 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-14 11:03:54 +0200 |
commit | 52ad4c259a51571ddbf40501464eb80abd5f9550 (patch) | |
tree | 587c5a0b1f31e7498434155f38f6c784cf55890f /gnosis.el | |
parent | 7ae87b0f67db16e5babec47b681bc45f5be0c060 (diff) |
Rename: gnosis-create-question -> gnosis-add-note
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -124,11 +124,11 @@ TAGS are used to organize questions." (error "The correct answer must be the number of the correct answer")) (gnosis--insert-into 'notes `([nil "mcq" ,question ,choices ,correct-answer ,tags, nil nil nil ,deck]))) -(defun gnosis-create-question (type) - "Create question as TYPE." +(defun gnosis-add-note (type) + "Create note as TYPE." (interactive (list (completing-read "Type: " '(MCQ Cloze Basic)))) (pcase type - ("MCQ" (call-interactively 'gnosis-create-mcq-question)) + ("MCQ" (call-interactively 'gnosis-add-mcq-question)) ("Cloze" (message "Not ready yet.")) ("Basic" (message "Not ready yet.")) (_ (message "No such type.")))) |