gptel
gptel copied to clipboard
Utilizing the original buffer as ediff buffer in eglot-mode
Eglot employs track-changes to monitor buffer modifications. However, track-changes is unable to account for cloned buffers, resulting in inaccurate status updates when changes occur in a cloned buffer.
This patch directly uses the original buffer in ediff mode, effectively resolving the issue. While this approach narrows the buffer, potentially causing confusion for some users, the buffer is restored to its original state after exiting ediff.