projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a32a0
)
Tweak shr window width computation
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 17 Apr 2018 18:34:12 +0000
(20:34 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 17 Apr 2018 18:34:12 +0000
(20:34 +0200)
* 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).
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 2d913a5a92f7d9781ac902cd08ef71bf164e79cb..0fc7ccf95825b630f8a8e783eff9baee1c0bc709 100644
(file)
--- 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