Ignore spurious error when cleaning up tags

This commit is contained in:
Chris Barrett
2023-03-21 15:25:54 +13:00
parent 9e45557d45
commit 0ca3dfb146

View File

@@ -784,7 +784,8 @@ It will show up in a dedicated section of the review buffer when it's due."
(interactive)
(org-roam-review--transform-selected-sections
(let ((node (org-roam-review--visiting-node-at-point
(org-roam-tag-remove org-roam-review-maturity-values)
(ignore-errors
(org-roam-tag-remove org-roam-review-maturity-values))
(org-roam-tag-add (list "memo"))
(org-delete-property "MATURITY")
(org-roam-review--update-node-srs-properties org-roam-review--maturity-score-revisit))))