summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-06-22 14:11:29 -0400
committerGlenn Morris <rgm@gnu.org>2017-06-22 14:11:29 -0400
commit18896f79136bb7d6d4c0c6b1d066b4e82644db6a (patch)
treea8743d825079d615e98b0b132502565085d806d2
parent21132e2623dddd19be421ba326434e3cffb1019b (diff)
downloademacs-18896f79136bb7d6d4c0c6b1d066b4e82644db6a.tar.gz
* lisp/net/shr.el (shr-fill-text): Actually fill the text. (Bug#27399)
-rw-r--r--lisp/net/shr.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 2a6b3960c46..45ef379af54 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -512,6 +512,7 @@ size, and full-buffer size."
(* (frame-char-width) 2)
0))))
(shr-insert text)
+ (shr-fill-lines (point-min) (point-max))
(buffer-string)))))
(define-inline shr-char-breakable-p (char)