]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a comment about the previous shr change
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 May 2019 19:10:33 +0000 (15:10 -0400)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 May 2019 19:10:33 +0000 (15:10 -0400)
lisp/net/shr.el

index 4820d8b43651ed510bb2bd6be8903f29496ca18b..3ab5116597b886bd0be8b9401033a7c775d05882 100644 (file)
@@ -1791,6 +1791,8 @@ The preference is a float determined from `shr-prefer-media-type'."
 (defun shr-mark-fill (start)
   ;; We may not have inserted any text to fill.
   (when (and (/= start (point))
+             ;; Tables insert themselves with the correct indentation,
+             ;; so don't do anything if we're at the start of a table.
              (not (get-text-property start 'shr-table-id)))
     (put-text-property start (1+ start)
                       'shr-indentation shr-indentation)))