]> git.eshelyaron.com Git - emacs.git/commit
Speed up shr-string-pixel-width
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jun 2022 11:48:53 +0000 (13:48 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jun 2022 11:49:10 +0000 (13:49 +0200)
commitc0c538b392240e388b80ae03f12774f577732a14
tree25ee4998ccb62eaf554e34f4aacf1d6b55d7870c
parentdc6157bef758cf5ba490219eebccaf33e14430d3
Speed up shr-string-pixel-width

* lisp/net/eww.el (eww-update-header-line-format): Use
string-pixel-width (since we don't care about shr-use-fonts here).
* lisp/net/shr.el (shr-string-pixel-width): Use
`string-pixel-width', which should be faster.
lisp/net/eww.el
lisp/net/shr.el