changeset 42697:8ecfd38df30d

(browse-url-grail): Use browse-url-maybe-new-window.
author Richard M. Stallman <rms@gnu.org>
date Sun, 13 Jan 2002 04:57:02 +0000
parents 7552a4b97c8c
children 6cf1ba89dc83
files lisp/net/browse-url.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/browse-url.el	Sun Jan 13 04:45:21 2002 +0000
+++ b/lisp/net/browse-url.el	Sun Jan 13 04:57:02 2002 +0000
@@ -1019,7 +1019,7 @@
     (set-buffer (get-buffer-create " *Shell Command Output*"))
     (erase-buffer)
     ;; don't worry about this failing.
-    (if new-window
+    (if (browse-url-maybe-new-window new-window)
 	(call-process browse-url-grail nil 0 nil "-b" url)
       (call-process browse-url-grail nil 0 nil url))
     (message "Sending URL to Grail... done")))