Commit 7e8fa774 authored by Richard M. Stallman's avatar Richard M. Stallman

(nnkiboze-close-group): Should only be run from summary buffers.

parent e9bd11e5
......@@ -147,7 +147,8 @@ If the stream is opened, return T, otherwise return NIL."
(defun nnkiboze-close-group (group &optional server)
(nnkiboze-possibly-change-newsgroups group)
;; Remove NOV lines of articles that are marked as read.
(if (not (file-exists-p (nnkiboze-nov-file-name)))
(if (or (not (file-exists-p (nnkiboze-nov-file-name)))
(not (eq major-mode 'gnus-summary-mode)))
()
(save-excursion
(let ((unreads gnus-newsgroup-unreads)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment