Function: ghostel--bounds-of-url-link-at-point

ghostel--bounds-of-url-link-at-point is a natively compiled function defined in ghostel-links.el.

Signature

(ghostel--bounds-of-url-link-at-point)

Documentation

Bounds of the URL link at point, or nil.

For bounds-of-thing-at-point-provider-alist.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-links.el
(defun ghostel--bounds-of-url-link-at-point ()
  "Bounds of the URL link at point, or nil.
For `bounds-of-thing-at-point-provider-alist'."
  (let ((uri (ghostel--link-uri-at-point)))
    (and uri
         (not (string-prefix-p "fileref:" uri))
         (ghostel--link-bounds (point)))))