summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-11-07 09:36:56 +0200
committerThanos Apollo <[email protected]>2024-11-07 10:12:24 +0200
commitc77f6787d1c77b998b4546389e06d4a149972ff1 (patch)
tree1ac9999e95474fd97e26da1eefade4486eea884c /gnosis.el
parent21d5498e8d0c53b7cc5d5bb813f830d92223b44c (diff)
Fix indentation
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index 61f58fe..9e7325f 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1427,7 +1427,9 @@ TAGS: boolean value, t to specify tags.
DUE: boolean value, t to specify due notes.
DECK: Integer, specify deck id.
QUERY: String value,"
- (cl-assert (and (booleanp due) (booleanp tags) (or (numberp deck) (null deck)) (or (stringp query) (null query)))
+ (cl-assert (and (booleanp due) (booleanp tags)
+ (or (numberp deck) (null deck))
+ (or (stringp query) (null query)))
nil "Incorrect value passed to `gnosis-collect-note-ids'")
(cond ((and (null tags) (null due) (null deck) (null query))
(gnosis-select 'id 'notes '1=1 t))
@@ -2323,7 +2325,8 @@ Defaults to current date."
Defaults to current date."
(cl-assert (listp date) nil "Date must be a list.")
(let* ((date (or date (gnosis-algorithm-date)))
- (reviewed-new (or (car (gnosis-select 'reviewed-new 'activity-log `(= date ',date) t)) 0)))
+ (reviewed-new (or (car (gnosis-select 'reviewed-new 'activity-log `(= date ',date) t))
+ 0)))
reviewed-new))
;; TODO: Auto tag overdue tags.
(defun gnosis-tags--append (id tag)