summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnosis.el b/gnosis.el
index 2839ff6..753d6e4 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -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.