summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-16 12:54:27 +0200
committerThanos Apollo <[email protected]>2024-01-16 12:54:27 +0200
commit6b036ca26e43069fd38585b29d9225aa6cf0593b (patch)
tree5fa5a5393ad0d5c2da0fb445a10a47fb0f85ddb5 /gnosis.el
parent5ba45f5285c92cbcb7dfbe4b3cafd8daed7590e7 (diff)
parent1a4202a6c76f024d3e7bd38ee840665e5602ee0f (diff)
Merge branch 'version-0.1.2' into master0.1.2
- Minor updates on commentary & docstrings, using checkdoc With this version gnosis should meet the requirments to be included on MELPA
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnosis.el b/gnosis.el
index 5a288ea..752d828 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -150,7 +150,7 @@ Use `gnosis-db-init' to initialize `gnosis-db' and create essential directories.
(emacsql gnosis-db `[:create-table ,table ,values]))
(cl-defun gnosis--drop-table (table)
- "Drop TABLE from gnosis-db."
+ "Drop TABLE from `gnosis-db'."
(emacsql gnosis-db `[:drop-table ,table]))
(cl-defun gnosis--insert-into (table values)
@@ -759,7 +759,7 @@ Optionally, add cusotm PROMPT."
image))
(defun gnosis-get-tags--unique ()
- "Return a list of unique strings for tags in gnosis-db."
+ "Return a list of unique strings for tags in `gnosis-db'."
(cl-loop for tags in (apply #'append (gnosis-select 'tags 'notes))
nconc tags into all-tags
finally return (delete-dups all-tags)))
@@ -1347,7 +1347,7 @@ review."
(defvar gnosis-db-schema-review '([(id integer :primary-key :not-null) ;; note-id
(ef integer :not-null) ;; Easiness factor
(ff integer :not-null) ;; Forgetting factor
- (interval integer :not-null)] ;; Interval
+ (interval integer :not-null)] ;; Initial Interval
(:foreign-key [id] :references notes [id]
:on-delete :cascade)))