[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0956a65: Make shr scale images on all frames
From: |
Lars Ingebrigtsen |
Subject: |
master 0956a65: Make shr scale images on all frames |
Date: |
Tue, 29 Oct 2019 08:56:58 -0400 (EDT) |
branch: master
commit 0956a65e6f46a04f8fb2bce6e909ff6a10a1c016
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Make shr scale images on all frames
* lisp/net/shr.el (shr-rescale-image): Rescale images even if the
window isn't on the current frame.
---
lisp/net/shr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 9340884..22d4cde 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1121,7 +1121,7 @@ WIDTH and HEIGHT are the sizes given in the HTML data, if
any.
The size of the displayed image will not exceed
MAX-WIDTH/MAX-HEIGHT. If not given, use the current window
width/height instead."
- (if (not (get-buffer-window (current-buffer)))
+ (if (not (get-buffer-window (current-buffer) t))
(create-image data nil t :ascent 100)
(let* ((edges (window-inside-pixel-edges
(get-buffer-window (current-buffer))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0956a65: Make shr scale images on all frames,
Lars Ingebrigtsen <=