emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/with-url 03b56ca 8/8: Respect the buffer parameter


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] scratch/with-url 03b56ca 8/8: Respect the buffer parameter
Date: Sun, 22 Jan 2017 22:25:23 +0000 (UTC)

branch: scratch/with-url
commit 03b56ca2a1bdb61f8db0743cb5378341ffd99ba8
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Respect the buffer parameter
---
 lisp/net/eww.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index ca4fa43..8ecf64b 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -297,7 +297,7 @@ word(s) will be searched for via `eww-search-prefix'."
     (let ((inhibit-read-only t))
       (insert (format "Loading %s..." url))
       (goto-char (point-min)))
-    (let ((buffer (current-buffer)))
+    (let ((buffer (or buffer (current-buffer))))
       (with-url (url :method method
                      :data data)
         (eww-render point buffer encode)))))



reply via email to

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