(browse-url-grail): Use browse-url-maybe-new-window.
authorRichard M. Stallman <rms@gnu.org>
Sun, 13 Jan 2002 04:57:24 +0000 (04:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 13 Jan 2002 04:57:24 +0000 (04:57 +0000)
lisp/ChangeLog
lisp/net/browse-url.el

index 2354c50..2e79942 100644 (file)
@@ -1,5 +1,8 @@
 2002-01-12  Richard M. Stallman  <rms@gnu.org>
 
+       * net/browse-url.el (browse-url-grail):
+       Use browse-url-maybe-new-window.
+
        * net/telnet.el (telnet-simple-send): Handle
        comint-input-sender-no-newline like comint-simple-send.
 
index 2f9026a..6c574b4 100644 (file)
@@ -1019,7 +1019,7 @@ variable `browse-url-grail'."
     (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")))