aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/nnir.el40
1 files changed, 19 insertions, 21 deletions
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 7d75603ca07..7e5f56e4dd0 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -1772,31 +1772,29 @@ article came from is also searched."
1772 (if (eq (car method) 'nntp) 1772 (if (eq (car method) 'nntp)
1773 (while (not (eobp)) 1773 (while (not (eobp))
1774 (ignore-errors 1774 (ignore-errors
1775 (push (string-as-unibyte 1775 (push (gnus-group-full-name
1776 (gnus-group-full-name 1776 (buffer-substring
1777 (buffer-substring 1777 (point)
1778 (point) 1778 (progn
1779 (progn 1779 (skip-chars-forward "^ \t")
1780 (skip-chars-forward "^ \t") 1780 (point)))
1781 (point))) 1781 method)
1782 method))
1783 groups)) 1782 groups))
1784 (forward-line)) 1783 (forward-line))
1785 (while (not (eobp)) 1784 (while (not (eobp))
1786 (ignore-errors 1785 (ignore-errors
1787 (push (string-as-unibyte 1786 (push (if (eq (char-after) ?\")
1788 (if (eq (char-after) ?\") 1787 (gnus-group-full-name (read cur) method)
1789 (gnus-group-full-name (read cur) method) 1788 (let ((p (point)) (name ""))
1790 (let ((p (point)) (name "")) 1789 (skip-chars-forward "^ \t\\\\")
1791 (skip-chars-forward "^ \t\\\\") 1790 (setq name (buffer-substring p (point)))
1792 (setq name (buffer-substring p (point))) 1791 (while (eq (char-after) ?\\)
1793 (while (eq (char-after) ?\\) 1792 (setq p (1+ (point)))
1794 (setq p (1+ (point))) 1793 (forward-char 2)
1795 (forward-char 2) 1794 (skip-chars-forward "^ \t\\\\")
1796 (skip-chars-forward "^ \t\\\\") 1795 (setq name (concat name (buffer-substring
1797 (setq name (concat name (buffer-substring 1796 p (point)))))
1798 p (point))))) 1797 (gnus-group-full-name name method)))
1799 (gnus-group-full-name name method))))
1800 groups)) 1798 groups))
1801 (forward-line))))) 1799 (forward-line)))))
1802 groups)) 1800 groups))