Improve oni-gnus-delete-forward

This commit is contained in:
Tom Willemse 2017-03-27 21:10:51 -07:00
parent 4d022c5d86
commit 5dae2bbfcd

View file

@ -27,11 +27,13 @@
(require 'gnus-sum) (require 'gnus-sum)
;;;###autoload ;;;###autoload
(defun oni-gnus-delete-forward () (defun oni-gnus-delete-forward (&optional n)
"Delete the article under point and move to the next one." "Delete the article under point and move to the next one.
(interactive) Do this N times."
(interactive "p")
(dotimes (_ (or n 1))
(gnus-summary-delete-article) (gnus-summary-delete-article)
(gnus-summary-next-subject 1)) (gnus-summary-next-subject 1)))
(provide 'oni-gnus) (provide 'oni-gnus)
;;; oni-gnus.el ends here ;;; oni-gnus.el ends here