Commit 9c3142dc authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Clean up eww code slightly

* eww.el (eww-browse-url): Clean up code slightly.
parent cb035f34
......@@ -744,9 +744,9 @@ the like."
(defun eww-browse-url (url &optional new-window)
(cond (new-window
(switch-to-buffer (generate-new-buffer "*eww*"))
(when new-window
(switch-to-buffer (generate-new-buffer "*eww*"))
(eww url))
(defun eww-back-url ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment