Function: majutsu-diff--color-words-goto-from

majutsu-diff--color-words-goto-from is a natively compiled function defined in majutsu-diff.el.

Signature

(majutsu-diff--color-words-goto-from INFO)

Documentation

Return non-nil when color-words navigation should target the old side.

INFO is the plist from majutsu-color-words-line-info-at-point.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-diff.el
(defun majutsu-diff--color-words-goto-from (info)
  "Return non-nil when color-words navigation should target the old side.
INFO is the plist from `majutsu-color-words-line-info-at-point'."
  (let ((side (majutsu-color-words-side-at-point)))
    (cond
     ((eq side 'removed) t)
     ((eq side 'added) nil)
     (t
      ;; If the line itself is side-specific, keep old behavior.
      (and (plist-get info :from-line)
           (not (plist-get info :to-line)))))))