Function: eca-chat--show-diff-ediff

eca-chat--show-diff-ediff is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--show-diff-ediff PATH DIFF)

Documentation

Compatibility wrapper delegating to eca-diff-show-ediff.

PATH is the file path being shown and DIFF is the unified diff text. This wrapper passes the current chat-buffer as CHAT-BUF so eca-diff can restore the chat display after Ediff quits.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--show-diff-ediff (path diff)
  "Compatibility wrapper delegating to `eca-diff-show-ediff'.

PATH is the file path being shown and DIFF is the unified diff text.
This wrapper passes the current chat-buffer as CHAT-BUF so `eca-diff' can
restore the chat display after Ediff quits."
  (eca-diff-show-ediff path diff (current-buffer) (lambda (b) (ignore-errors (eca-chat--display-buffer b)))))