]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 2354c50a946ec63b7aa23a28147d9b94c8a246b8..2e799426fbf1a6af4e248f48e1a63b2f5d4d7f6d 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 2f9026aee8edbe8cf4884fab236df4c6139366f7..6c574b4a29eaca5c51670520137159b5548d61d1 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")))