]> git.eshelyaron.com Git - emacs.git/commit
Fix Gnus group sorting to use gnus-group-list
authorEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 19 May 2019 16:57:50 +0000 (09:57 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 19 May 2019 17:01:00 +0000 (10:01 -0700)
commite4eb8c850145248c1f3c4235cdd8d11b1c05bb1e
tree504c4461c160c72e70d27d69d0c5c1cb6517b2ab
parentd86235fee5b71f6212fc6abf242925a4c3e88200
Fix Gnus group sorting to use gnus-group-list

* lisp/gnus/gnus-group.el (gnus-group-sort-flat): As
  gnus-newsrc-hashtb is now a real (unsorted) hash table, use
  gnus-group-list to maintain group sort order.
  (gnus-group-sort-selected-flat): Ditto.
* lisp/gnus/gnus-start.el (gnus-subscribe-alphabetically): Simplify
  function using seq-find.
  (gnus-subscribe-killed, gnus-subscribe-zombies): Use cl-pushnew to
  avoid adding duplicates (can happen when un/subscribing multiple
  times to one group).
lisp/gnus/gnus-group.el
lisp/gnus/gnus-start.el