Function: majutsu-interactive--fixup-patch

majutsu-interactive--fixup-patch is a natively compiled function defined in majutsu-interactive.el.

Signature

(majutsu-interactive--fixup-patch PATCH)

Documentation

Fix hunk header line counts in PATCH using diff-mode.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-interactive.el
(defun majutsu-interactive--fixup-patch (patch)
  "Fix hunk header line counts in PATCH using diff-mode."
  (with-temp-buffer
    (insert patch)
    (diff-mode)
    (diff-fixup-modifs (point-min) (point-max))
    (buffer-string)))