aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-05-29 15:34:50 +0000
committerRichard M. Stallman2004-05-29 15:34:50 +0000
commit657962fc48b822102fa587d9d9b8db4ca701b876 (patch)
treececad3fa3b305120e4ec8985383a630394700ddc
parent152472ba196b8c415045b3eecf8488c56b90d5da (diff)
downloademacs-657962fc48b822102fa587d9d9b8db4ca701b876.tar.gz
emacs-657962fc48b822102fa587d9d9b8db4ca701b876.zip
(browse-url-interactive-arg): Doc fix.
-rw-r--r--lisp/net/browse-url.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index e98b3d815ab..1dbd97f0073 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -578,11 +578,12 @@ down (this *won't* always work)."
578(defun browse-url-interactive-arg (prompt) 578(defun browse-url-interactive-arg (prompt)
579 "Read a URL from the minibuffer, prompting with PROMPT. 579 "Read a URL from the minibuffer, prompting with PROMPT.
580If `transient-mark-mode' is non-nil and the mark is active, 580If `transient-mark-mode' is non-nil and the mark is active,
581defaults to the current region, else to the URL at or before 581it defaults to the current region, else to the URL at or before
582point. If invoked with a mouse button, set point to the 582point. If invoked with a mouse button, it moves point to the
583position clicked first. Return a list for use in `interactive' 583position clicked before acting.
584containing the URL and `browse-url-new-window-flag' or its 584
585negation if a prefix argument was given." 585This function returns a list (URL NEW-WINDOW-FLAG)
586for use in `interactive'."
586 (let ((event (elt (this-command-keys) 0))) 587 (let ((event (elt (this-command-keys) 0)))
587 (and (listp event) (mouse-set-point event))) 588 (and (listp event) (mouse-set-point event)))
588 (list (read-string prompt (or (and transient-mark-mode mark-active 589 (list (read-string prompt (or (and transient-mark-mode mark-active