]> git.eshelyaron.com Git - emacs.git/commit
Remove nnselect-artlist variable in nnselect
authorAndrew G Cohen <cohen@andy.bu.edu>
Sun, 18 Mar 2018 01:11:04 +0000 (09:11 +0800)
committerAndrew G Cohen <cohen@andy.bu.edu>
Sun, 18 Mar 2018 01:11:04 +0000 (09:11 +0800)
commit459d4eed3406b3f8af4badf7526f7dae66600426
treebca5f4a3de4d19f8fa2d511d87edb45528e074e0
parent0e48e63770f7a46c62f7c224f75a9a725f26aba8
Remove nnselect-artlist variable in nnselect

This fixes a bug which causes the group info to get out of sync.

* lisp/gnus/nnselect.el (nnselect-add-prefix): New macro.
  (nnselect-get-artlist): New macro.
  (nnselect-possibly-change-group): Delete.
  (nnselect-request-group, nnselect-retrieve-headers,
  nnselect-request-update-info, nnselect-close-group): Remove
  nnselect-artlist variable and update with new macros.
  (nnselect-request-update-info): Use memq instead of member for speed.
lisp/gnus/nnselect.el