]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow the user to specify shr-width in mm-shr
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 29 Dec 2021 15:48:34 +0000 (16:48 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 29 Dec 2021 15:48:34 +0000 (16:48 +0100)
* lisp/gnus/mm-decode.el (mm-shr): Allow the user to specify the
width by setting `shr-width' (bug#52825).

lisp/gnus/mm-decode.el

index d2889a50c0a26a53f47279142b7fb1b1672fd1a1..e2fb4b66b1bfa6629d28fb7819e65fe841656560 100644 (file)
@@ -1869,7 +1869,7 @@ If RECURSIVE, search recursively."
   ;; Require since we bind its variables.
   (require 'shr)
   (let ((shr-width (if shr-use-fonts
-                      nil
+                      shr-width
                     fill-column))
        (shr-content-function (lambda (id)
                                (let ((handle (mm-get-content-id id)))