Function: majutsu-row-line-token-position

majutsu-row-line-token-position is a natively compiled function defined in majutsu-row.el.

Signature

(majutsu-row-line-token-position TOKEN BOL EOL &optional START)

Documentation

Return start position of TOKEN between BOL and EOL, or nil.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
;;; Parse helpers

(defun majutsu-row-line-token-position (token bol eol &optional start)
  "Return start position of TOKEN between BOL and EOL, or nil."
  (save-excursion
    (goto-char (or start bol))
    (when (search-forward token eol t)
      (- (point) (length token)))))