ai-code-interface.el icon indicating copy to clipboard operation
ai-code-interface.el copied to clipboard

Incorrect indentation in copilot filter function

Open davidwuchn opened this issue 8 months ago • 1 comments

Location

ai-code-backends-infra.el:938-944

Severity

Low

Problem

The filter function for the "copilot" backend has misaligned indentation.

(when orig-filter
    (funcall orig-filter process output))  ; Wrong indentation
  ;; Then track activity for notifications
   (with-current-buffer (process-buffer process)  ; Wrong indentation

Impact

This doesn't affect execution (Emacs is whitespace-tolerant in let-bindings), but it's a formatting issue that makes the code harder to read.

Suggested Fix

Fix the indentation to follow standard Elisp conventions.

davidwuchn avatar Mar 22 '26 01:03 davidwuchn

Thanks

tninja avatar Mar 22 '26 01:03 tninja