Function: gnus-draft-toggle-sending

gnus-draft-toggle-sending is an interactive and byte-compiled function defined in gnus-draft.el.gz.

Signature

(gnus-draft-toggle-sending ARTICLE)

Documentation

Toggle whether to send an article or not.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-draft.el.gz
;;; Commands

(defun gnus-draft-toggle-sending (article)
  "Toggle whether to send an article or not."
  (interactive (list (gnus-summary-article-number)) gnus-summary-mode)
  (if (gnus-draft-article-sendable-p article)
      (progn
	(push article gnus-newsgroup-unsendable)
	(gnus-summary-mark-article article gnus-unsendable-mark))
    (setq gnus-newsgroup-unsendable
	  (delq article gnus-newsgroup-unsendable))
    (gnus-summary-mark-article article gnus-unread-mark))
  (gnus-summary-position-point))