Function: ghostel--eldoc-link
ghostel--eldoc-link is a natively compiled function defined in
ghostel-links.el.
Signature
(ghostel--eldoc-link CALLBACK &rest _)
Documentation
Report the hyperlink URI at point via eldoc CALLBACK.
For eldoc-documentation-functions.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-links.el
(defun ghostel--eldoc-link (callback &rest _)
"Report the hyperlink URI at point via eldoc CALLBACK.
For `eldoc-documentation-functions'."
(when-let* (((eq (get-text-property (point) 'keymap) ghostel-link-map))
(uri (ghostel--uri-at-pos (point)))
(link (if (string-prefix-p "fileref:" uri)
(substring uri (length "fileref:"))
uri)))
(funcall callback link :thing "Link" :face 'link)))