changeset 17867:4b87104dcbc7

(rmail-summary-delete-forward): Force the argument to be a number, since we may be called with nil.
author Richard M. Stallman <rms@gnu.org>
date Mon, 19 May 1997 01:05:13 +0000
parents 7d458582345c
children bc2cf7c40435
files lisp/mail/rmailsum.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Mon May 19 01:04:04 1997 +0000
+++ b/lisp/mail/rmailsum.el	Mon May 19 01:05:13 1997 +0000
@@ -582,6 +582,7 @@
 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)