summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-14 11:01:35 +0200
committerThanos Apollo <[email protected]>2023-12-14 11:01:35 +0200
commit55ff1188486d769da8f440a58396cda64d6ef2c6 (patch)
treee3fae5bf96d3400bfff450e7428633b72ad9ea7d /gnosis.el
parente4f9ee8d25273f75d969cded84019baea07883f7 (diff)
Rename gnosis-create-deck -> gnosis-add-deck
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index ff5085e..1dcd094 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -85,7 +85,7 @@ the returns the list of inputs in reverse order."
(pop input))
(reverse input)))
-(defun gnosis-create-deck (name)
+(defun gnosis-add-deck (name)
"Create deck with NAME."
(interactive (list (read-string "Deck Name: ")))
(gnosis--insert-into 'decks `([nil ,name])))
@@ -197,7 +197,7 @@ TAGS are used to organize questions."
(deck-id integer)]
(:foreign-key [deck-id] :references decks [id]
:on-delete :cascade)))
- (gnosis-create-deck "Anatomy"))
+ (gnosis-add-deck "Anatomy"))
;; Gnosis mode ;;
;;;;;;;;;;;;;;;;;