Function: majutsu-annotate-maybe-show-message

majutsu-annotate-maybe-show-message is a natively compiled function defined in majutsu-annotate.el.

Signature

(majutsu-annotate-maybe-show-message)

Documentation

Show summary of current chunk in echo area.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-annotate.el
(defun majutsu-annotate-maybe-show-message ()
  "Show summary of current chunk in echo area."
  (when (majutsu-annotate--style-get 'show-message)
    (when-let* ((chunk (majutsu-annotate-chunk-at (point)))
                (change-id (majutsu-annotate-chunk-orig-rev chunk))
                (revinfo (gethash change-id majutsu-annotate-cache))
                (summary (cdr (assoc "summary" revinfo))))
      (message "%s" summary))))