]> git.eshelyaron.com Git - emacs.git/commitdiff
browse-url-firefox: removed MS-Windows limitations
authorOscar Fuentes <ofv@wanadoo.es>
Fri, 6 Mar 2015 16:18:45 +0000 (17:18 +0100)
committerOscar Fuentes <ofv@wanadoo.es>
Fri, 6 Mar 2015 16:18:45 +0000 (17:18 +0100)
net/browse-url.el (browse-url-firefox): Removed outdated
MS-Windows limitations.

lisp/ChangeLog
lisp/net/browse-url.el

index edea71cda52dfe591685aeac2853f5184df8a030..c81ab9b6d2235a9345a445c8499b57074429feea 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-06  Oscar Fuentes  <ofv@wanadoo.es>
+
+       * net/browse-url.el (browse-url-firefox): Removed outdated
+       MS-Windows limitations.
+
 2015-03-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
 
        * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
index 4c8ebf01588abfc77ca84708c6893c6c76e32b87..5e61c094c2e07e1f16c6369827f2bec55e9a07a6 100644 (file)
@@ -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