From c001f03ead56038df7a10baf344f46714d998672 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20T=C3=A9tard?= Date: Mon, 26 Sep 2011 22:43:47 +0200 Subject: [PATCH] Remove browse-url-firefox-new-tab function which is not useful anymore. --- emacs.el | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/emacs.el b/emacs.el index fc756b9..e9eff9d 100644 --- a/emacs.el +++ b/emacs.el @@ -97,21 +97,6 @@ ;; Enable longlines-mode for LaTeX files (add-hook 'latex-mode-hook 'longlines-mode) -;; On utilise Mozilla Firefox -(defun browse-url-firefox-new-tab (url &optional new-window) - "Open URL in a new tab in Firefox." - ;; (interactive (browse-url-interactive-arg "URL: ")) - (let ((cmd (shell-command-to-string - (concat "mozilla-firefox -a firefox -remote 'openURL(" - url ",new-tab)' > /dev/null")))) - (unless (string= "" cmd) - (message "Starting Firefox...") - (start-process (concat "firefox " url) nil "/bin/sh" "-c" - (concat "mozilla-firefox " url "|| true")) - (message "Starting Firefox...done")))) - -(setq browse-url-browser-function 'browse-url-firefox-new-tab) - ;; ,-------------- ;; | Les racourcis ;; `-------------- -- 2.30.2