]> git.eshelyaron.com Git - emacs.git/commit
* lisp/gnus/gnus-sum.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 May 2019 17:53:13 +0000 (13:53 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 May 2019 17:53:13 +0000 (13:53 -0400)
commitc3e838166800d5af4be66e80c2be276905a73486
tree6752dd2a002b7975fa7bdee5afd58444eac79796
parentd4868b2bee88c89e704b4228a34e29dfc4a9f2a5
* lisp/gnus/gnus-sum.el: Use lexical-binding

(gnus-summary-make-menu-bar, gnus-summary-display-make-predicate)
(gnus-summary-refer-thread, gnus-summary-find-matching)
(gnus-summary-edit-article, gnus-summary-sort):
Replace backquoted lambda with closure.
(gnus-summary-article-header): Use define-inline rather than defmacro,
so it's also a function.
(gnus-save-hidden-threads, gnus-summary-iterate, gnus-with-article):
Use `declare`.
(gnus-thread-sort-by-random): Simplify.
(gnus-summary-display-article, gnus-summary-limit-to-address):
Hoist common code outside of `if`.
lisp/gnus/gnus-sum.el