Function: majutsu-jjdescription--refresh-ignore-rest-pos

majutsu-jjdescription--refresh-ignore-rest-pos is a natively compiled function defined in majutsu-jjdescription.el.

Signature

(majutsu-jjdescription--refresh-ignore-rest-pos)

Documentation

Refresh cached ignore-rest position for the current buffer.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
(defun majutsu-jjdescription--refresh-ignore-rest-pos ()
  "Refresh cached ignore-rest position for the current buffer."
  (let ((tick (buffer-chars-modified-tick)))
    (unless (eq majutsu-jjdescription--ignore-rest-tick tick)
      (setq majutsu-jjdescription--ignore-rest-tick tick
            majutsu-jjdescription--ignore-rest-pos nil)
      (save-excursion
        (goto-char (point-min))
        (when (re-search-forward (majutsu-jjdescription--ignore-rest-line-re) nil t)
          (setq majutsu-jjdescription--ignore-rest-pos (line-beginning-position)))))))