]> git.eshelyaron.com Git - emacs.git/commit
* lisp/gnus: Further reduce assumptions about gnus-data format
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jun 2019 19:28:12 +0000 (15:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jun 2019 19:28:12 +0000 (15:28 -0400)
commitda1974fabddda6fac029db6960110001c6472ddc
treebe1c9d5cd25355eb298d505537266d56d7c98cf1
parent77f96e2cc1da30730f79d5935eaf5d23e53f37ad
* lisp/gnus: Further reduce assumptions about gnus-data format

* lisp/gnus/gnus-registry.el (gnus-registry-fetch-message-id-fast)
(gnus-registry-fetch-simplified-message-subject-fast)
(gnus-registry-fetch-sender-fast, gnus-registry-fetch-recipients-fast)
(gnus-registry--set/remove-mark): Don't hardcode assoc for gnus-data-find-in.

* lisp/gnus/gnus-sum.el (gnus-data-update-list): Don't hardcode `nth 2`
for gnus-data-pos.
(gnus-summary-insert-old-articles, gnus-summary-insert-new-articles)
(gnus-summary-first-article-p): Don't hardcode `car` for `gnus-data-number`.
(gnus-summary-move-article, gnus-summary-expire-articles)
(gnus-summary-delete-article): Don't hardcode assoc for gnus-data-find-in.

* lisp/gnus/spam.el (spam-fetch-article-header): Don't hardcode `nth 3`
for gnus-data-header.
lisp/gnus/gnus-registry.el
lisp/gnus/gnus-sum.el
lisp/gnus/spam.el