diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-17 20:34:12 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-17 20:34:12 +0200 |
commit | d12800303fc1f3f6c45806ee0b1e638d20478938 (patch) | |
tree | fcbd37c0a97fdd9757891ecf4179a98a6f996dfb /lisp | |
parent | 01a32a0f97134aca41df6895d23bcfcc51916b21 (diff) | |
download | emacs-d12800303fc1f3f6c45806ee0b1e638d20478938.tar.gz |
Tweak shr window width computation
* lisp/net/shr.el (shr-insert-document): The computation of the
window width is apparently one pixel too wide for the shr line
folding algorithm (bug#31196).
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/net/shr.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 2d913a5a92f..0fc7ccf9582 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -274,7 +274,8 @@ DOM should be a parse tree as generated by (if (and (null shr-width) (not (shr--have-one-fringe-p))) (* (frame-char-width) 2) - 0))))) + 0) + 1)))) (max-specpdl-size max-specpdl-size) bidi-display-reordering) ;; If the window was hscrolled for some reason, shr-fill-lines |