branch: elpa/gnosis
commit f4532cbf9d6970922473149c0357283353d3c5ff
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    Remove gnosis-suspend-tag.
    
    + Replaced with gnosis-dashboard-suspend-tag.
---
 gnosis.el | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gnosis.el b/gnosis.el
index 0b8f139e072..37fa15a4266 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -666,15 +666,6 @@ When called with a prefix, unsuspends all notes in deck."
          (message "Unsuspended %s notes" (length notes))
        (message "Suspended %s notes" (length notes))))))
 
-(defun gnosis-suspend-tag ()
-  "Suspend all note(s) with tag.
-
-When called with a prefix, unsuspends all notes for tag."
-  (let ((notes (gnosis-select-by-tag (gnosis-tags-prompt)))
-       (suspend (if current-prefix-arg 0 1)))
-    (cl-loop for note in notes
-            do (gnosis-update 'review-log `(= suspend ,suspend) `(= id 
,note)))))
-
 (defun gnosis-generate-id (&optional length deck-p)
   "Generate a unique gnosis ID.
 

Reply via email to