changeset 14197:85a1a4ac2663

(nnkiboze-close-group): Should only be run from summary buffers.
author Richard M. Stallman <rms@gnu.org>
date Wed, 17 Jan 1996 00:22:11 +0000
parents abbc35e39b11
children d018e8da6435
files lisp/nnkiboze.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/nnkiboze.el	Wed Jan 17 00:20:56 1996 +0000
+++ b/lisp/nnkiboze.el	Wed Jan 17 00:22:11 1996 +0000
@@ -147,7 +147,8 @@
 (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)