changeset 55830:2fe67fa04b1a

(browse-url-interactive-arg): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 May 2004 15:34:50 +0000
parents fcd2e17daffa
children 3d0a4333d97a
files lisp/net/browse-url.el
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/browse-url.el	Sat May 29 15:33:30 2004 +0000
+++ b/lisp/net/browse-url.el	Sat May 29 15:34:50 2004 +0000
@@ -578,11 +578,12 @@
 (defun browse-url-interactive-arg (prompt)
   "Read a URL from the minibuffer, prompting with PROMPT.
 If `transient-mark-mode' is non-nil and the mark is active,
-defaults to the current region, else to the URL at or before
-point.  If invoked with a mouse button, set point to the
-position clicked first.  Return a list for use in `interactive'
-containing the URL and `browse-url-new-window-flag' or its
-negation if a prefix argument was given."
+it defaults to the current region, else to the URL at or before
+point.  If invoked with a mouse button, it moves point to the
+position clicked before acting.
+
+This function returns a list (URL NEW-WINDOW-FLAG)
+for use in `interactive'."
   (let ((event (elt (this-command-keys) 0)))
     (and (listp event) (mouse-set-point event)))
   (list (read-string prompt (or (and transient-mark-mode mark-active