emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3de3452: Add a comment about the previous shr chang


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 3de3452: Add a comment about the previous shr change
Date: Mon, 13 May 2019 15:10:44 -0400 (EDT)

branch: master
commit 3de3452014e8c8dade2cd62aa6c6a701692aa3f9
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Add a comment about the previous shr change
---
 lisp/net/shr.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 4820d8b..3ab5116 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]