aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-01-13 04:57:24 +0000
committerRichard M. Stallman <[email protected]>2002-01-13 04:57:24 +0000
commit0deef26e9a948f6b2e0b667ecb1b39581828ec28 (patch)
tree04cc743fcb74dd8eaa28cb301ef002a165b34c22 /lisp
parent732576c8ab5d577686257c8936560cb5f3181eed (diff)
(browse-url-grail): Use browse-url-maybe-new-window.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/net/browse-url.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2354c50a94..2e799426fb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2002-01-12 Richard M. Stallman <[email protected]>
+ * 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.
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 2f9026aee8..6c574b4a29 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -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")))