summaryrefslogtreecommitdiff
path: root/lisp/net/browse-url.el
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2015-03-06 17:18:45 +0100
committerOscar Fuentes <ofv@wanadoo.es>2015-03-06 17:18:45 +0100
commit20c6b227ea69b9cd47f92d1a7e0935312e8ce83c (patch)
treec002a32192a074e8c3aad41512466eddca851f36 /lisp/net/browse-url.el
parentbfebebbc72c6a6ea375c6e8ed7f8641b25439770 (diff)
downloademacs-20c6b227ea69b9cd47f92d1a7e0935312e8ce83c.tar.gz
browse-url-firefox: removed MS-Windows limitations
net/browse-url.el (browse-url-firefox): Removed outdated MS-Windows limitations.
Diffstat (limited to 'lisp/net/browse-url.el')
-rw-r--r--lisp/net/browse-url.el17
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 4c8ebf01588..5e61c094c2e 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -1117,11 +1117,7 @@ whenever a document would otherwise be loaded in a new window, it
is loaded in a new tab in an existing window instead.
Non-interactively, this uses the optional second argument NEW-WINDOW
-instead of `browse-url-new-window-flag'.
-
-On MS Windows, this ignores `browse-url-new-window-flag' and
-`browse-url-firefox-new-window-is-tab', as well as the NEW-WINDOW argument.
-It always uses a new window."
+instead of `browse-url-new-window-flag'."
(interactive (browse-url-interactive-arg "URL: "))
(setq url (browse-url-encode-url url))
(let* ((process-environment (browse-url-process-environment)))
@@ -1130,13 +1126,10 @@ It always uses a new window."
browse-url-firefox-program
(append
browse-url-firefox-arguments
- ;; FIXME someone should check if this limitation
- ;; still applies.
- (unless (memq system-type '(windows-nt ms-dos))
- (if (browse-url-maybe-new-window new-window)
- (if browse-url-firefox-new-window-is-tab
- '("-new-tab")
- '("-new-window"))))
+ (if (browse-url-maybe-new-window new-window)
+ (if browse-url-firefox-new-window-is-tab
+ '("-new-tab")
+ '("-new-window")))
(list url)))))
;;;###autoload