Function: ghostel--url-link-p
ghostel--url-link-p is a natively compiled function defined in
ghostel-links.el.
Signature
(ghostel--url-link-p POS)
Documentation
Non-nil when POS carries a URL link this scan attached.
The file pattern also matches the //host/path half of a URL, so the file
pass has to recognise a URL link to leave it alone, including one an earlier
scan attached, when URL detection has since been switched off.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-links.el
(defun ghostel--url-link-p (pos)
"Non-nil when POS carries a URL link this scan attached.
The file pattern also matches the `//host/path' half of a URL, so the file
pass has to recognise a URL link to leave it alone, including one an earlier
scan attached, when URL detection has since been switched off."
(let ((echo (get-text-property pos 'help-echo)))
(and (ghostel--detected-link-p pos)
(stringp echo)
(not (string-prefix-p "fileref:" echo)))))