[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master cad0bc7: Use the correct background color when fill
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master cad0bc7: Use the correct background color when filling nested <divs> |
Date: |
Mon, 29 Feb 2016 11:23:01 +0000 |
branch: master
commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Use the correct background color when filling nested <divs>
* lisp/net/shr.el (shr-face-background): Return the first
background, because that's the one that's visible (bug#22680).
---
lisp/net/shr.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 63e02d9..fc6fca7 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1911,7 +1911,8 @@ The preference is a float determined from
`shr-prefer-media-type'."
(let ((background nil))
(dolist (elem face)
(when (and (consp elem)
- (eq (car elem) :background))
+ (eq (car elem) :background)
+ (not background))
(setq background (cadr elem))))
(and background
(list :background background))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master cad0bc7: Use the correct background color when filling nested <divs>,
Lars Ingebrigtsen <=