Function: majutsu-annotate-goto-chunk-hook

majutsu-annotate-goto-chunk-hook is a natively compiled function defined in majutsu-annotate.el.

Signature

(majutsu-annotate-goto-chunk-hook)

Documentation

Hook to run when point moves to a different chunk.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-annotate.el
(defun majutsu-annotate-goto-chunk-hook ()
  "Hook to run when point moves to a different chunk."
  (when-let* ((chunk (majutsu-annotate-chunk-at (point))))
    (unless (eq chunk majutsu-annotate--previous-chunk)
      (run-hooks 'majutsu-annotate-goto-chunk-hook)
      (setq majutsu-annotate--previous-chunk chunk))))