diff options
| author | Richard M. Stallman | 2004-11-07 04:00:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-11-07 04:00:18 +0000 |
| commit | db32470656647b86be4087d35cee05f5e1283004 (patch) | |
| tree | 0c26e1d3aa1c63c5a4c652c0a61ebf1f20a93feb | |
| parent | 589d30dd8b82834ca0d00d853a38a27806a2dbb7 (diff) | |
| download | emacs-db32470656647b86be4087d35cee05f5e1283004.tar.gz emacs-db32470656647b86be4087d35cee05f5e1283004.zip | |
(browse-url-gnome-moz-program)
(browse-url-gnome-moz-arguments): Move up before first use.
| -rw-r--r-- | lisp/net/browse-url.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index c5a2218e36e..098f2988f1b 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -357,6 +357,15 @@ Defaults to the value of `browse-url-epiphany-arguments' at the time | |||
| 357 | :type '(repeat (string :tag "Argument")) | 357 | :type '(repeat (string :tag "Argument")) |
| 358 | :group 'browse-url) | 358 | :group 'browse-url) |
| 359 | 359 | ||
| 360 | ;; GNOME means of invoking either Mozilla or Netrape. | ||
| 361 | (defvar browse-url-gnome-moz-program "gnome-moz-remote") | ||
| 362 | |||
| 363 | (defcustom browse-url-gnome-moz-arguments '() | ||
| 364 | "*A list of strings passed to the GNOME mozilla viewer as arguments." | ||
| 365 | :version "21.1" | ||
| 366 | :type '(repeat (string :tag "Argument")) | ||
| 367 | :group 'browse-url) | ||
| 368 | |||
| 360 | (defcustom browse-url-mozilla-new-window-is-tab nil | 369 | (defcustom browse-url-mozilla-new-window-is-tab nil |
| 361 | "*Whether to open up new windows in a tab or a new window. | 370 | "*Whether to open up new windows in a tab or a new window. |
| 362 | If non-nil, then open the URL in a new tab rather than a new window if | 371 | If non-nil, then open the URL in a new tab rather than a new window if |
| @@ -1032,14 +1041,6 @@ used instead of `browse-url-new-window-flag'." | |||
| 1032 | browse-url-epiphany-program | 1041 | browse-url-epiphany-program |
| 1033 | (append browse-url-epiphany-startup-arguments (list url)))))) | 1042 | (append browse-url-epiphany-startup-arguments (list url)))))) |
| 1034 | 1043 | ||
| 1035 | ;; GNOME means of invoking either Mozilla or Netrape. | ||
| 1036 | (defvar browse-url-gnome-moz-program "gnome-moz-remote") | ||
| 1037 | (defcustom browse-url-gnome-moz-arguments '() | ||
| 1038 | "*A list of strings passed to the GNOME mozilla viewer as arguments." | ||
| 1039 | :version "21.1" | ||
| 1040 | :type '(repeat (string :tag "Argument")) | ||
| 1041 | :group 'browse-url) | ||
| 1042 | |||
| 1043 | ;;;###autoload | 1044 | ;;;###autoload |
| 1044 | (defun browse-url-gnome-moz (url &optional new-window) | 1045 | (defun browse-url-gnome-moz (url &optional new-window) |
| 1045 | "Ask Mozilla/Netscape to load URL via the GNOME program `gnome-moz-remote'. | 1046 | "Ask Mozilla/Netscape to load URL via the GNOME program `gnome-moz-remote'. |