diff options
| author | Romain Francoise | 2005-11-19 15:57:20 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-11-19 15:57:20 +0000 |
| commit | f0f98146d29521374a6f348b43b7907baad0b7a1 (patch) | |
| tree | 0315f37304c6b22cc8d9e8e7a4eb86731e9145a4 | |
| parent | 6c72c0c7d6cf03b9079a0768fa64879b97dd53bd (diff) | |
| download | emacs-f0f98146d29521374a6f348b43b7907baad0b7a1.tar.gz emacs-f0f98146d29521374a6f348b43b7907baad0b7a1.zip | |
(browse-url-default-browser): Signal an error if no usable browser can
be found, rather than try to load w3.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7872c490a0b..8f22f75f15c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-11-19 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * net/browse-url.el (browse-url-default-browser): Signal an error | ||
| 4 | if no usable browser can be found, rather than try to load w3. | ||
| 5 | |||
| 1 | 2005-11-16 Ryan Yeske <rcyeske@gmail.com> | 6 | 2005-11-16 Ryan Yeske <rcyeske@gmail.com> |
| 2 | 7 | ||
| 3 | * net/rcirc.el (rcirc-mangle-text): Add bold face property without | 8 | * net/rcirc.el (rcirc-mangle-text): Add bold face property without |
| @@ -82,7 +87,7 @@ | |||
| 82 | * progmodes/gdb-ui.el (gdb-ann3): ...here. Make it work in the | 87 | * progmodes/gdb-ui.el (gdb-ann3): ...here. Make it work in the |
| 83 | speedbar. | 88 | speedbar. |
| 84 | (gdb-find-watch-expression): New function. | 89 | (gdb-find-watch-expression): New function. |
| 85 | 90 | ||
| 86 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> | 91 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> |
| 87 | 92 | ||
| 88 | * faces.el (face-attribute, set-face-attribute): Mention existence | 93 | * faces.el (face-attribute, set-face-attribute): Mention existence |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 54fddf9261c..8d57bb30c11 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -864,7 +864,9 @@ xterm, MMM, and then W3." | |||
| 864 | ((executable-find "tellw3b") 'browse-url-iximosaic) | 864 | ((executable-find "tellw3b") 'browse-url-iximosaic) |
| 865 | ((executable-find browse-url-xterm-program) 'browse-url-lynx-xterm) | 865 | ((executable-find browse-url-xterm-program) 'browse-url-lynx-xterm) |
| 866 | ((executable-find "mmm") 'browse-url-mmm) | 866 | ((executable-find "mmm") 'browse-url-mmm) |
| 867 | (t 'browse-url-w3)) | 867 | ((locate-library "w3") 'browse-url-w3) |
| 868 | (t | ||
| 869 | (lambda (&ignore args) (error "No usable browser found")))) | ||
| 868 | url args)) | 870 | url args)) |
| 869 | 871 | ||
| 870 | ;;;###autoload | 872 | ;;;###autoload |