projects
/
gnus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6a2f00
)
* gnus-start.el (gnus-convert-old-newsrc): Fixed numeric
author
Kevin Greiner
<kevin.greiner@compsol.cc>
Mon, 7 Mar 2005 04:53:41 +0000
(
04:53
+0000)
committer
Kevin Greiner
<kevin.greiner@compsol.cc>
Mon, 7 Mar 2005 04:53:41 +0000
(
04:53
+0000)
comparison on string.
lisp/gnus-start.el
patch
|
blob
|
history
diff --git
a/lisp/gnus-start.el
b/lisp/gnus-start.el
index
ba23c7c
..
35ce7fc
100644
(file)
--- a/
lisp/gnus-start.el
+++ b/
lisp/gnus-start.el
@@
-2255,7
+2255,8
@@
If FORCE is non-nil, the .newsrc file is read."
(defun gnus-convert-old-newsrc ()
"Convert old newsrc formats into the current format, if needed."
(let ((fcv (and gnus-newsrc-file-version
(defun gnus-convert-old-newsrc ()
"Convert old newsrc formats into the current format, if needed."
(let ((fcv (and gnus-newsrc-file-version
- (gnus-continuum-version gnus-newsrc-file-version))))
+ (gnus-continuum-version gnus-newsrc-file-version)))
+ (gcv (gnus-continuum-version)))
(when fcv
;; A newsrc file was loaded.
(let (prompt-displayed
(when fcv
;; A newsrc file was loaded.
(let (prompt-displayed
@@
-2288,7
+2289,8
@@
If FORCE is non-nil, the .newsrc file is read."
;; Perform converters to bring older version up to date.
(when (and converters (< fcv (caar converters)))
;; Perform converters to bring older version up to date.
(when (and converters (< fcv (caar converters)))
- (while (and converters (< fcv (caar converters)))
+ (while (and converters (< fcv (caar converters))
+ (<= (caar converters) gcv))
(let* ((converter-spec (pop converters))
(convert-to (nth 1 converter-spec))
(load-from (nth 2 converter-spec))
(let* ((converter-spec (pop converters))
(convert-to (nth 1 converter-spec))
(load-from (nth 2 converter-spec))