diff options
| author | Stefan Monnier | 2010-04-29 10:04:33 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-04-29 10:04:33 -0400 |
| commit | 7d353d11ce54503fb996af93b5c61d7e1f4a5606 (patch) | |
| tree | 01135bdb750d63fa0f899a4e8cbd8ad4ab0ef62b | |
| parent | d6d2385247fd2a9cacd338ec5ff1b47787ef44fb (diff) | |
| download | emacs-7d353d11ce54503fb996af93b5c61d7e1f4a5606.tar.gz emacs-7d353d11ce54503fb996af93b5c61d7e1f4a5606.zip | |
* net/browse-url.el (browse-url-firefox-program): Use iceweasel if
firefox is absent. Don't autoload.
(browse-url-galeon-program): Don't autoload.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 10 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2a90aa1dc43..b1964d3a673 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * net/browse-url.el (browse-url-firefox-program): Use iceweasel if | ||
| 4 | firefox is absent. Don't autoload. | ||
| 5 | (browse-url-galeon-program): Don't autoload. | ||
| 6 | |||
| 1 | 2010-04-28 Chong Yidong <cyd@stupidchicken.com> | 7 | 2010-04-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * bindings.el (complete-symbol): Move into minibuffer.el. | 9 | * bindings.el (complete-symbol): Move into minibuffer.el. |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 261b765eaeb..420381cf43e 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -313,8 +313,11 @@ Defaults to the value of `browse-url-mozilla-arguments' at the time | |||
| 313 | :type '(repeat (string :tag "Argument")) | 313 | :type '(repeat (string :tag "Argument")) |
| 314 | :group 'browse-url) | 314 | :group 'browse-url) |
| 315 | 315 | ||
| 316 | ;;;###autoload | 316 | (defcustom browse-url-firefox-program |
| 317 | (defcustom browse-url-firefox-program (purecopy "firefox") | 317 | (let ((candidates '("firefox" "iceweasel"))) |
| 318 | (while (and candidates (not (executable-find (car candidates)))) | ||
| 319 | (setq candidates (cdr candidates))) | ||
| 320 | (or (car candidates) "firefox")) | ||
| 318 | "The name by which to invoke Firefox." | 321 | "The name by which to invoke Firefox." |
| 319 | :type 'string | 322 | :type 'string |
| 320 | :group 'browse-url) | 323 | :group 'browse-url) |
| @@ -331,8 +334,7 @@ Defaults to the value of `browse-url-firefox-arguments' at the time | |||
| 331 | :type '(repeat (string :tag "Argument")) | 334 | :type '(repeat (string :tag "Argument")) |
| 332 | :group 'browse-url) | 335 | :group 'browse-url) |
| 333 | 336 | ||
| 334 | ;;;###autoload | 337 | (defcustom browse-url-galeon-program "galeon" |
| 335 | (defcustom browse-url-galeon-program (purecopy "galeon") | ||
| 336 | "The name by which to invoke Galeon." | 338 | "The name by which to invoke Galeon." |
| 337 | :type 'string | 339 | :type 'string |
| 338 | :group 'browse-url) | 340 | :group 'browse-url) |