Function: majutsu-log-insert-error-header
majutsu-log-insert-error-header is a natively compiled function
defined in majutsu-log.el.
Signature
(majutsu-log-insert-error-header)
Documentation
Insert the message about the jj error that just occurred.
This function only knows about the last error that occurred when jj was run for side-effects. Refreshing the log buffer causes this section to disappear again.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-log.el
(defun majutsu-log-insert-error-header ()
"Insert the message about the jj error that just occurred.
This function only knows about the last error that occurred when jj was
run for side-effects. Refreshing the log buffer causes this section to
disappear again."
(when majutsu-log--this-error
(magit-insert-section (error 'jj)
(insert (propertize (format "%-10s" "JJError! ")
'font-lock-face 'magit-section-heading))
(insert (propertize majutsu-log--this-error 'font-lock-face 'error))
(when-let* ((_ majutsu-show-process-buffer-hint)
(key (car (where-is-internal 'majutsu-process-buffer))))
(insert (format " [Type %s for details]" (key-description key))))
(insert ?\n))
(setq majutsu-log--this-error nil)))