]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/nnml.el
Merge changes made in No Gnus
[gnu-emacs] / lisp / gnus / nnml.el
index acb23ed1693f04dba1e453854b5c1cbe10fedf0c..b8652600ae72bcec915b4c34aebb25dfc4f705d2 100644 (file)
@@ -1298,6 +1298,9 @@ Use the nov database for the current group if available."
          (nnml-save-nov)
          ;; b/ Save the active file:
          (nnmail-save-active nnml-group-alist nnml-active-file)
+         (let ((marks (nnml-group-pathname group nnml-marks-file-name server)))
+           (when (file-exists-p marks)
+             (delete-file marks)))
          t)))))
 
 (defun nnml-request-compact (&optional server)