Function: majutsu-jjdescription--ignore-rest-comment-matcher

majutsu-jjdescription--ignore-rest-comment-matcher is a natively compiled function defined in majutsu-jjdescription.el.

Signature

(majutsu-jjdescription--ignore-rest-comment-matcher LIMIT)

Documentation

Match text after ignore-rest as comments before LIMIT.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
(defun majutsu-jjdescription--ignore-rest-comment-matcher (limit)
  "Match text after ignore-rest as comments before LIMIT."
  (majutsu-jjdescription--refresh-ignore-rest-pos)
  (when majutsu-jjdescription--ignore-rest-pos
    (let ((start (save-excursion
                   (goto-char majutsu-jjdescription--ignore-rest-pos)
                   (end-of-line)
                   (if (eobp)
                       (point-max)
                     (forward-line 1)
                     (point)))))
      (when (< start limit)
        (let ((match-start (max start (point))))
          (when (< match-start limit)
            (set-match-data (list match-start limit))
            (goto-char limit)
            t))))))