changeset 45943:b699a283b3fa

(browse-url-at-mouse): Don't pass an arg to browse-url-at-point.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Jun 2002 09:58:32 +0000
parents bcb77f40c06e
children ca4e3a6d73f4
files lisp/net/browse-url.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/browse-url.el	Fri Jun 21 09:57:05 2002 +0000
+++ b/lisp/net/browse-url.el	Fri Jun 21 09:58:32 2002 +0000
@@ -703,7 +703,9 @@
   (interactive "e")
   (save-excursion
     (mouse-set-point event)
-    (browse-url-at-point browse-url-new-window-flag)))
+    ;; This handles browse-url-new-window-flag properly
+    ;; when it gets no arg.
+    (browse-url-at-point)))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Browser-specific commands