]> 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>
Sat, 15 Dec 2018 08:03:33 +0000 (16:03 +0800)
commit0693d498246c16647adc4e03db20dfa4d2a1cee3
treeeff93aa9c76227a4b4f5dca0c751a0abf4d59b78
parent5868104a46328425708c1b6fecb27a372d7b3cfe
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