]> git.eshelyaron.com Git - emacs.git/commit
* lisp/gnus/gnus-sum.el (gnus-tmp-thread): New var
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 17 May 2019 18:42:36 +0000 (14:42 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 17 May 2019 18:42:36 +0000 (14:42 -0400)
commit4fbcecfaef8a3773b605c183c4da66cdabb39eef
tree0beee96d54872df753cf9acb91afd4ed0049f44b
parentdeb88392c61d9cdf99f2fbe432c16d995541e2c0
* lisp/gnus/gnus-sum.el (gnus-tmp-thread): New var

The recent change to use lexical-binding introduced a bug because
gnus-summary-line-format-alist refers to variable `thread` which is now
lexical and hence not available there any more.  Replace it with
a dynamically scoped var `gnus-tmp-thread` as was already done with
all other vars.

(gnus-summary-line-format-alist): Use it instead of `thread`.
(gnus-summary-prepare-threads): Bind it around call to (eval
gnus-summary-line-format-spec).
lisp/gnus/gnus-sum.el