aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2016-07-21 08:33:41 +0000
committerKatsumi Yamaoka2016-07-21 08:33:41 +0000
commiteb9d461a8edd1a515f361a3a5fdc2e886264b0d9 (patch)
tree80f3e82dc7280d67dde8b8146e3db742979e97a8
parent4157159a37b43712440da91a45a6d5f71eb96e8a (diff)
downloademacs-eb9d461a8edd1a515f361a3a5fdc2e886264b0d9.tar.gz
emacs-eb9d461a8edd1a515f361a3a5fdc2e886264b0d9.zip
* lisp/net/shr.el (shr-fill-line): Withdraw the last commit (4157159).
-rw-r--r--lisp/net/shr.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 8718e4ffaea..2c8ff79763f 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -636,12 +636,13 @@ size, and full-buffer size."
636 ;; Success; continue. 636 ;; Success; continue.
637 (when (= (preceding-char) ?\s) 637 (when (= (preceding-char) ?\s)
638 (delete-char -1)) 638 (delete-char -1))
639 (let ((props (text-properties-at (point))) 639 (let ((face (get-text-property (point) 'face))
640 (gap-start (point))) 640 (background-start (point)))
641 (insert "\n") 641 (insert "\n")
642 (shr-indent) 642 (shr-indent)
643 (when props 643 (when face
644 (add-text-properties gap-start (point) props))) 644 (put-text-property background-start (point) 'face
645 `,(shr-face-background face))))
645 (setq start (point)) 646 (setq start (point))
646 (shr-vertical-motion shr-internal-width) 647 (shr-vertical-motion shr-internal-width)
647 (when (looking-at " $") 648 (when (looking-at " $")