Account for string names in active file

Account also for strings when reading in group names from an active
file (bug#62812).
* lisp/gnus/nnmail.el (nnmail-parse-active): Make it similar to
gnus-active-to-gnus-format
This commit is contained in:
James Thomas 2023-08-24 12:35:51 +05:30 committed by Eli Zaretskii
parent 4860456584
commit 1aaeaf22ce

View file

@ -667,7 +667,9 @@ nn*-request-list should have been called before calling this function."
(cond ((symbolp group) (cond ((symbolp group)
(symbol-name group)) (symbol-name group))
((numberp group) ((numberp group)
(number-to-string group)))) (number-to-string group))
((stringp group)
group)))
(if (and (numberp (setq max (read buffer))) (if (and (numberp (setq max (read buffer)))
(numberp (setq min (read buffer)))) (numberp (setq min (read buffer))))
(push (list group (cons min max)) (push (list group (cons min max))