Function: browse-url-at-mouse

browse-url-at-mouse is an autoloaded, interactive and byte-compiled function defined in browse-url.el.gz.

Signature

(browse-url-at-mouse EVENT)

Documentation

Use a web browser to load a URL clicked with the mouse.

See browse-url for details.

The URL is the one around or before the position of the mouse click but point is not changed.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;;;###autoload
(defun browse-url-at-mouse (event)
  "Use a web browser to load a URL clicked with the mouse.
See `browse-url' for details.

The URL is the one around or before the position of the mouse
click but point is not changed."
  (interactive "e")
  (save-excursion
    (mouse-set-point event)
    ;; This handles browse-url-new-window-flag properly
    ;; when it gets no arg.
    (browse-url-at-point)))