all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Minor Patch: Respect browse-url-new-window-flag
@ 2014-12-01  3:08 T. V. Raman
  2014-12-01  4:04 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: T. V. Raman @ 2014-12-01  3:08 UTC (permalink / raw)
  To: emacs-devel

Here is a simple patch to eww.el to respect option
browse-url-new-window-flag
git diff master -- eww.el
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 2059b5e..4613b4c 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -680,7 +680,7 @@ the like."
 
 ;;;###autoload
 (defun eww-browse-url (url &optional new-window)
-  (cond (new-window
+  (cond ((or browse-url-new-window-flagnew-window)
          (let ((new-buffer "*eww*")
                (num 0))
            (while (get-buffer new-buffer)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-01 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01  3:08 Minor Patch: Respect browse-url-new-window-flag T. V. Raman
2014-12-01  4:04 ` Lars Magne Ingebrigtsen
2014-12-01 17:41   ` T.V Raman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.