Function: hywiki-word-get-range

hywiki-word-get-range is a byte-compiled function defined in hywiki.el.

Signature

(hywiki-word-get-range)

Documentation

Return list of (HyWikiWord#section:Lnum:Cnum start end) around point.

Calls to hywiki-active-in-current-buffer-p and hywiki-non-hook-context-p must return non-nil or this will return '(nil nil nil).

If the HyWikiWord reference is delimited, point must be within the delimiters. The delimiters are excluded from start and end. If not at a HyWikiWord, return '(nil nil nil).

This works regardless of whether the HyWikiWord has been highlighted or not. Call hywiki-highlighted-word-at to test for a highlighted HyWikiWord at point.

This does not test whether a referent exists for the HyWikiWord; call hywiki-referent-exists-p without an argument for that.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-word-get-range ()
  "Return list of (HyWikiWord#section:Lnum:Cnum start end) around point.
Calls to `hywiki-active-in-current-buffer-p' and `hywiki-non-hook-context-p'
must return non-nil or this will return \\='(nil nil nil).

If the HyWikiWord reference is delimited, point must be within the
delimiters.  The delimiters are excluded from start and end.  If not
at a HyWikiWord, return \\='(nil nil nil).

This works regardless of whether the HyWikiWord has been highlighted
or not.  Call `hywiki-highlighted-word-at' to test for a highlighted
HyWikiWord at point.

This does not test whether a referent exists for the HyWikiWord; call
`hywiki-referent-exists-p' without an argument for that."
  (if (hywiki-non-hook-context-p)
      '(nil nil nil)
    (hywiki-word-at :range)))