diff options
author | Thanos Apollo <[email protected]> | 2024-08-07 12:27:33 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-07 12:27:33 +0300 |
commit | 114d92fa7b2713d12b58101dc650d03b95162ce9 (patch) | |
tree | 349384c354632d1095cbc9f41d54ea46ac5d92e8 | |
parent | 0c8d6b9c6503505503252cd0cfa1ebb3aacb4d21 (diff) |
get-note-tag-amnesia: Return either nil or max amnesia value.
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2010,9 +2010,7 @@ amnesia i.e next interval to be 0. CUSTOM-TAGS: Specify tags for note id. CUSTOM-VALUES: Specify values for tags." (let ((amnesia-values (gnosis-get-custom-tag-values id :amnesia custom-tags custom-values))) - (if amnesia-values - (apply #'min amnesia-values) - gnosis-algorithm-amnesia-value))) + (and amnesia-values (apply #'max amnesia-values)))) (defun gnosis-get-note-deck-amnesia (id &optional custom-deck custom-values) "Return tag amnesia for note ID. |