From: Richard M. Stallman Date: Sun, 13 Jan 2002 04:57:24 +0000 (+0000) Subject: (browse-url-grail): Use browse-url-maybe-new-window. X-Git-Tag: ttn-vms-21-2-B4~17187 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0deef26e9a948f6b2e0b667ecb1b39581828ec28;p=emacs.git (browse-url-grail): Use browse-url-maybe-new-window. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2354c50a946..2e799426fbf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2002-01-12 Richard M. Stallman + * 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 2f9026aee8e..6c574b4a29e 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")))