diff options
author | Thanos Apollo <[email protected]> | 2024-08-07 15:02:24 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-07 15:02:24 +0300 |
commit | caae059a0988cdb08ef01f1adc695972300fe09c (patch) | |
tree | 62051e3309b420242e4809b02990bd7531308f1b | |
parent | 4726840b4ece588926308b17ef9bf8feeeb3c60c (diff) |
[fix] get-note-proto: when deck-proto is nil, use default proto.
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2116,7 +2116,7 @@ CUSTOM-DECK: Custom deck to be used instead." (let* ((deck (or custom-deck (gnosis-get-note-deck-name id))) (tags-proto (gnosis-get-custom-tag-values id :proto custom-tags custom-values)) (decks-proto (gnosis-get-custom-deck-value deck :proto custom-values))) - (if tags-proto (gnosis-proto-max-values tags-proto) (gnosis-proto-max-values decks-proto)))) + (if tags-proto (gnosis-proto-max-values tags-proto) (gnosis-proto-max-values (or decks-proto gnosis-algorithm-proto))))) (defun gnosis-get-note-tag-anagnosis (id &optional custom-tags custom-values) "Return the minimum anagnosis tag value for note ID. |