Mercurial > emacs
comparison lisp/gnus/nnslashdot.el @ 85712:a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-911
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 28 Oct 2007 09:18:39 +0000 |
parents | 24202b793a08 |
children | 107ccd98fa12 880960b70474 |
comparison
equal
deleted
inserted
replaced
85711:b6f5dc84b2e1 | 85712:a3c27999decb |
---|---|
457 (when (file-exists-p file) | 457 (when (file-exists-p file) |
458 (mm-with-unibyte-buffer | 458 (mm-with-unibyte-buffer |
459 (insert-file-contents file) | 459 (insert-file-contents file) |
460 (goto-char (point-min)) | 460 (goto-char (point-min)) |
461 (setq nnslashdot-groups (read (current-buffer)))) | 461 (setq nnslashdot-groups (read (current-buffer)))) |
462 (if (and nnslashdot-groups (< (length (car nnslashdot-groups)) 5)) | 462 (when (and nnslashdot-groups (< (length (car nnslashdot-groups)) 5)) |
463 (let ((groups nnslashdot-groups)) | 463 (dolist (group nnslashdot-groups) |
464 (while groups | 464 (nnslashdot-make-tuple group 5)))))) |
465 (nnslashdot-make-tuple (car groups) 5) | |
466 (setq groups (cdr groups)))))))) | |
467 | 465 |
468 (defun nnslashdot-write-groups () | 466 (defun nnslashdot-write-groups () |
469 (with-temp-file (expand-file-name "groups" nnslashdot-directory) | 467 (with-temp-file (expand-file-name "groups" nnslashdot-directory) |
470 (gnus-prin1 nnslashdot-groups))) | 468 (gnus-prin1 nnslashdot-groups))) |
471 | 469 |