]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 21 Jul 2016 08:33:41 +0000 (08:33 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 21 Jul 2016 08:33:41 +0000 (08:33 +0000)
lisp/net/shr.el

index 8718e4ffaea83848b134cef80d4ed9457d514b10..2c8ff79763f3cc36219d49f864cb0bac17f1c53c 100644 (file)
@@ -636,12 +636,13 @@ size, and full-buffer size."
       ;; Success; continue.
       (when (= (preceding-char) ?\s)
        (delete-char -1))
-      (let ((props (text-properties-at (point)))
-           (gap-start (point)))
+      (let ((face (get-text-property (point) 'face))
+           (background-start (point)))
        (insert "\n")
        (shr-indent)
-       (when props
-         (add-text-properties gap-start (point) props)))
+       (when face
+         (put-text-property background-start (point) 'face
+                            `,(shr-face-background face))))
       (setq start (point))
       (shr-vertical-motion shr-internal-width)
       (when (looking-at " $")