Function: eca-chat--show-diff-smerge

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

Signature

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

Documentation

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

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 smerge 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-smerge (path diff)
  "Compatibility wrapper delegating to `eca-diff-show-smerge'.

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 smerge quits."
  (eca-diff-show-smerge path diff (current-buffer) (lambda (b) (ignore-errors (eca-chat--display-buffer b)))))