]> git.eshelyaron.com Git - emacs.git/commit
Fix some minor gravatar.el issues
authorBasil L. Contovounesios <contovob@tcd.ie>
Mon, 22 Jul 2019 20:48:45 +0000 (21:48 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 2 Aug 2019 13:33:30 +0000 (16:33 +0300)
commitb4b1eda7fbf4c4f3fa6377bd18d1d1a22e6e4b42
tree3b827b0cd5491f2d853f9ea0d325f0457c344ad3
parentcf569e520ee080b5a913d37d363a5ab5fc38d982
Fix some minor gravatar.el issues

For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00528.html
* lisp/image/gravatar.el (gravatar-hash): Trim leading and trailing
whitespace in given address, as per the Gravatar docs.
(gravatar-retrieve-synchronously): Silence call to
url-retrieve-synchronously for consistency with gravatar-retrieve.
(gravatar-retrieved): Only cache buffer on successful retrieval.
* test/lisp/image/gravatar-tests.el: New file.
lisp/image/gravatar.el
test/lisp/image/gravatar-tests.el [new file with mode: 0644]