diff options
| author | Richard M. Stallman | 2004-05-29 15:34:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-05-29 15:34:50 +0000 |
| commit | 657962fc48b822102fa587d9d9b8db4ca701b876 (patch) | |
| tree | cecad3fa3b305120e4ec8985383a630394700ddc | |
| parent | 152472ba196b8c415045b3eecf8488c56b90d5da (diff) | |
| download | emacs-657962fc48b822102fa587d9d9b8db4ca701b876.tar.gz emacs-657962fc48b822102fa587d9d9b8db4ca701b876.zip | |
(browse-url-interactive-arg): Doc fix.
| -rw-r--r-- | lisp/net/browse-url.el | 11 |
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. |
| 580 | If `transient-mark-mode' is non-nil and the mark is active, | 580 | If `transient-mark-mode' is non-nil and the mark is active, |
| 581 | defaults to the current region, else to the URL at or before | 581 | it defaults to the current region, else to the URL at or before |
| 582 | point. If invoked with a mouse button, set point to the | 582 | point. If invoked with a mouse button, it moves point to the |
| 583 | position clicked first. Return a list for use in `interactive' | 583 | position clicked before acting. |
| 584 | containing the URL and `browse-url-new-window-flag' or its | 584 | |
| 585 | negation if a prefix argument was given." | 585 | This function returns a list (URL NEW-WINDOW-FLAG) |
| 586 | for 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 |