diff options
author | Thanos Apollo <[email protected]> | 2024-08-07 12:29:06 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-07 12:29:06 +0300 |
commit | 4cb2beac3dd00cc6a6d30214b63ed48e357cb2cc (patch) | |
tree | 61fca32d3573dc45b1cbcddbfb61e469946d64b9 | |
parent | 4874af540435aa2a1a6bbeb80a1fe7127a1f748e (diff) |
get-note-tag-epignosis: Return either nil or max epignosis value.
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2040,9 +2040,7 @@ CUSTOM-VALUES: Specify values for tags." CUSTOM-TAGS: Specify tags for note id. CUSTOM-VALUES: Specify values for tags." (let* ((epignosis-values (gnosis-get-custom-tag-values id :epignosis custom-tags custom-values))) - (if epignosis-values - (apply #'max epignosis-values) - gnosis-algorithm-epignosis-value))) + (and epignosis-values (apply #'max epignosis-values)))) (defun gnosis-get-note-deck-epignosis (id &optional custom-deck custom-values) "Return deck epignosis for note ID." |