Function: majutsu-row-string-has-module-p

majutsu-row-string-has-module-p is a natively compiled function defined in majutsu-row.el.

Signature

(majutsu-row-string-has-module-p STRING MODULE)

Documentation

Return non-nil if STRING contains text marked with MODULE.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
(defun majutsu-row-string-has-module-p (string module)
  "Return non-nil if STRING contains text marked with MODULE."
  (let ((pos 0)
        found)
    (while (and (< pos (length string)) (not found))
      (setq found (eq (get-text-property
                       pos 'majutsu-row-module string)
                      module)
            pos (or (next-single-property-change
                     pos 'majutsu-row-module string)
                    (length string))))
    found))