summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-27 05:23:42 +0200
committerThanos Apollo <[email protected]>2024-01-27 05:23:42 +0200
commitf9d4039ac7783219de88a25df9767f9cf0a4aecc (patch)
tree14ae1b20fb2a9246b671e9f09c9c36b0c6e86e13
parent05bf7e8ba93852955a045674634909caa04175c4 (diff)
Autload gnosis-add-deck & gnosis-delete-deck
-rw-r--r--gnosis.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 4c366bc..1f330cd 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -342,6 +342,7 @@ Set SPLIT to t to split all input given."
unless (string-empty-p part)
do (push part input))))
+;;;###autoload
(defun gnosis-add-deck (name)
"Create deck with NAME."
(interactive (list (read-string "Deck Name: ")))
@@ -363,6 +364,7 @@ Set SPLIT to t to split all input given."
"Return id for DECK name."
(gnosis-get 'id 'decks `(= name ,deck)))
+;;;###autoload
(defun gnosis-delete-deck (deck)
"Delete DECK."
(interactive (list (gnosis--get-deck-name)))