Function: goto-address

goto-address is an autoloaded, interactive and byte-compiled function defined in goto-addr.el.gz.

Signature

(goto-address)

Documentation

Sets up goto-address functionality in the current buffer.

Allows user to use mouse/keyboard command to click to go to a URL or to send e-mail. By default, goto-address binds goto-address-at-point to mouse-2 and C-c RET only on URLs and e-mail addresses.

Also fontifies the buffer appropriately (see goto-address-fontify-p and goto-address-highlight-p for more information).

Probably introduced at or before Emacs version 23.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/goto-addr.el.gz
;;;###autoload
(defun goto-address ()
  "Sets up goto-address functionality in the current buffer.
Allows user to use mouse/keyboard command to click to go to a URL
or to send e-mail.
By default, goto-address binds `goto-address-at-point' to mouse-2 and C-c RET
only on URLs and e-mail addresses.

Also fontifies the buffer appropriately (see `goto-address-fontify-p' and
`goto-address-highlight-p' for more information)."
  (interactive)
  (if goto-address-highlight-p
      (goto-address-fontify)))