Function: diff-hl-diff-goto-hunk
diff-hl-diff-goto-hunk is an interactive and natively compiled
function defined in diff-hl.el.
Signature
(diff-hl-diff-goto-hunk &optional HISTORIC)
Documentation
Run VC diff command and go to the corresponding line in diff.
With double prefix argument (C-u C-u), the diff is made against the reference revision.
Key Bindings
diff-hl-mode-map C-x v =
Source Code
;; Defined in /nix/store/cfz56rl3lp066226i0bmmgiicls3gcq7-emacs-packages-deps/share/emacs/site-lisp/elpa/diff-hl-20261001.135/diff-hl.el
(defun diff-hl-diff-goto-hunk (&optional historic)
"Run VC diff command and go to the corresponding line in diff.
With double prefix argument (C-u C-u), the diff is made against the
reference revision."
(interactive (list current-prefix-arg))
(with-current-buffer (current-buffer)
(if (equal historic '(16))
(diff-hl-diff-reference-goto-hunk)
(diff-hl-diff-goto-hunk-1 historic nil))))