rmail-summary-mark-deleted optional argument fix
* lisp/mail/rmailsum.el (rmail-summary-mark-deleted): Argument N is optional, so don't assume that it's a number (bug#39076).
This commit is contained in:
parent
bbad7904e2
commit
90ce2b8034
1 changed files with 3 additions and 2 deletions
|
@ -974,8 +974,9 @@ a negative argument means to delete and move forward."
|
|||
(delete-char 1)
|
||||
(insert "D"))
|
||||
;; Discard cached new summary line.
|
||||
(with-current-buffer rmail-buffer
|
||||
(aset rmail-summary-vector (1- n) nil))))
|
||||
(when n
|
||||
(with-current-buffer rmail-buffer
|
||||
(aset rmail-summary-vector (1- n) nil)))))
|
||||
(beginning-of-line))
|
||||
|
||||
(defun rmail-summary-update-line (n)
|
||||
|
|
Loading…
Add table
Reference in a new issue