projects
/
elisp
/
gnus.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r7438,
[elisp/gnus.git-]
/
lisp
/
nnslashdot.el
diff --git
a/lisp/nnslashdot.el
b/lisp/nnslashdot.el
index
63b39c9
..
e203de4
100644
(file)
--- a/
lisp/nnslashdot.el
+++ b/
lisp/nnslashdot.el
@@
-1,5
+1,6
@@
;;; nnslashdot.el --- interfacing with Slashdot
;;; nnslashdot.el --- interfacing with Slashdot
-;; Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+;; Free Software Foundation, Inc.
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
;; Keywords: news
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
;; Keywords: news
@@
-253,8
+254,7
@@
(when (numberp article)
(if (= article 1)
(progn
(when (numberp article)
(if (= article 1)
(progn
- (re-search-forward
- "Posted by")
+ (search-forward "Posted by")
(search-forward "<BR>")
(setq contents
(buffer-substring
(search-forward "<BR>")
(setq contents
(buffer-substring
@@
-468,11
+468,9
@@
(insert-file-contents file)
(goto-char (point-min))
(setq nnslashdot-groups (read (current-buffer))))
(insert-file-contents file)
(goto-char (point-min))
(setq nnslashdot-groups (read (current-buffer))))
- (if (and nnslashdot-groups (< (length (car nnslashdot-groups)) 5))
- (let ((groups nnslashdot-groups))
- (while groups
- (nnslashdot-make-tuple (car groups) 5)
- (setq groups (cdr groups))))))))
+ (when (and nnslashdot-groups (< (length (car nnslashdot-groups)) 5))
+ (dolist (group nnslashdot-groups)
+ (nnslashdot-make-tuple group 5))))))
(defun nnslashdot-write-groups ()
(with-temp-file (expand-file-name "groups" nnslashdot-directory)
(defun nnslashdot-write-groups ()
(with-temp-file (expand-file-name "groups" nnslashdot-directory)
@@
-514,4
+512,5
@@
(provide 'nnslashdot)
(provide 'nnslashdot)
+;;; arch-tag: aa73df7a-f7e6-4eef-bdea-5ce2f8c691b3
;;; nnslashdot.el ends here
;;; nnslashdot.el ends here