Function: majutsu-op--format-diff-line
majutsu-op--format-diff-line is a natively compiled function defined
in majutsu-op.el.
Signature
(majutsu-op--format-diff-line VALUE)
Documentation
Return display text for parsed operation diff line VALUE.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-op.el
(defun majutsu-op--format-diff-line (value)
"Return display text for parsed operation diff line VALUE."
(let ((prefix (plist-get value :prefix)))
(concat (majutsu-op--diff-line-marker (plist-get value :marker))
" "
(when prefix
(concat (propertize prefix 'face 'font-lock-keyword-face) " "))
(if (plist-get value :absent)
(propertize "(absent)" 'face 'shadow)
(concat (plist-get value :change-id-short-display)
" "
(plist-get value :commit-id-short-display)
(or (majutsu-op--diff-line-flags value) "")
" "
(plist-get value :description))))))