]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding for Gravatar support
authorBasil L. Contovounesios <contovob@tcd.ie>
Mon, 22 Jul 2019 21:06:22 +0000 (22:06 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 2 Aug 2019 13:33:30 +0000 (16:33 +0300)
commit60eb0a4834305e1c2b31b1e817875f3d8d0be5f5
treed3f0655a672ebaad1325aaffc937c9bd3ff7c390
parent87ec668e95084af45bec010de36493fb90a26461
Use lexical-binding for Gravatar support

For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html
* lisp/gnus/gnus-gravatar.el: Use lexical-binding.  Link custom
group 'gnus-gravatar' to 'gravatar'.
(gnus-gravatar-size, gnus-gravatar-too-ugly): Doc fix.
(gnus-gravatar-insert): Check liveness of article buffer sooner.
(gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Use
interactive spec "p" instead of emulating it.
* lisp/image/gravatar.el: Use lexical-binding.
(gravatar-cache-expired): Remove.  Change all callers to use
url-cache-expired instead.
(gravatar-get-data, gravatar-retrieve)
(gravatar-retrieve-synchronously): Simplify.
lisp/gnus/gnus-gravatar.el
lisp/image/gravatar.el