Function: majutsu-diff--hunk-column
majutsu-diff--hunk-column is a natively compiled function defined in
majutsu-diff.el.
Signature
(majutsu-diff--hunk-column SECTION GOTO-FROM)
Documentation
Return the column for SECTION based on GOTO-FROM side.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-diff.el
(defun majutsu-diff--hunk-column (section goto-from)
"Return the column for SECTION based on GOTO-FROM side."
(let ((bol (line-beginning-position)))
(if (or (< (point) (oref section content))
(and (not goto-from) (eq (char-after bol) ?-)))
0
;; All hunk content lines have a 1-char prefix (+, -, or space)
(max 0 (1- (current-column))))))