From ecb4dd9a350f1f36aca706d03f7cc1a9d50b5b23 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 19 May 1997 01:05:13 +0000 Subject: [PATCH] (rmail-summary-delete-forward): Force the argument to be a number, since we may be called with nil. --- lisp/mail/rmailsum.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 4a7dd67b082..6081062dde6 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -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) -- 2.39.5