diff options
author | Thanos Apollo <[email protected]> | 2024-01-26 09:55:00 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-26 09:55:00 +0200 |
commit | af86aa3cc9fd9f281461eeeeca685671fb33c868 (patch) | |
tree | d839ca5f607633421c688858bcf26dc800a6c3cc /gnosis.el | |
parent | 2b1e1b80ac6257bda53de5992aca0f3854b3d246 (diff) |
gnosis-review-get-due-notes: Use flatten argument
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -830,8 +830,8 @@ well." (defun gnosis-review-get-due-notes () "Return a list due notes id for current date." - (let ((notes (gnosis-select 'id 'notes))) - (cl-loop for note in (apply #'append notes) + (let ((notes (gnosis-select 'id 'notes '1=1 t))) + (cl-loop for note in notes when (gnosis-review-is-due-p note) collect note))) |