Function: rmail-delete-backward

rmail-delete-backward is an interactive and byte-compiled function defined in rmail.el.gz.

Signature

(rmail-delete-backward &optional COUNT)

Documentation

Delete this message and move to previous nondeleted one.

Deleted messages stay in the file until the M-x rmail-expunge (rmail-expunge) command is given. Optional argument COUNT (interactively, prefix argument) is a repeat count; negative argument means move forwards instead of backwards.

Returns t if a new message is displayed after the delete, or nil otherwise.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-delete-backward (&optional count)
  "Delete this message and move to previous nondeleted one.
Deleted messages stay in the file until the \\[rmail-expunge] command is given.
Optional argument COUNT (interactively, prefix argument) is a repeat count;
negative argument means move forwards instead of backwards.

Returns t if a new message is displayed after the delete, or nil otherwise."

  (interactive "p")
  (if (not count) (setq count 1))
  (rmail-delete-forward (- count)))