1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

(rmail-summary-delete-forward): Force the

argument to be a number, since we may be called with nil.
This commit is contained in:
Richard M. Stallman 1997-05-19 01:05:13 +00:00
parent 5885633586
commit ecb4dd9a35

View File

@ -582,6 +582,7 @@ Deleted messages stay in the file until the \\[rmail-expunge] command is given.
A prefix argument serves as a repeat count;
a negative argument means to delete and move backward."
(interactive "p")
(unless (numberp count) (setq count 1))
(let (end del-msg
(backward (< count 0)))
(while (/= count 0)