Function: quickurl-browse-url

quickurl-browse-url is an interactive and byte-compiled function defined in quickurl.el.gz.

Signature

(quickurl-browse-url &optional LOOKUP)

Documentation

Browse the URL associated with LOOKUP.

If not supplied LOOKUP is taken to be the word at point in the current buffer, this default action can be modified via quickurl-grab-lookup-function.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/quickurl.el.gz
;;;###autoload
(defun quickurl-browse-url (&optional lookup)
  "Browse the URL associated with LOOKUP.

If not supplied LOOKUP is taken to be the word at point in the
current buffer, this default action can be modified via
`quickurl-grab-lookup-function'."
  (interactive)
  (when (or lookup
            (setq lookup (funcall quickurl-grab-lookup-function)))
    (quickurl-load-urls)
    (let ((url (quickurl-find-url lookup)))
      (if url
          (browse-url (quickurl-url-url url))
        (error "No URL associated with \"%s\"" lookup)))))