[clang] [emacs][clang-format] Add elisp API for clang-format on git diffs (PR #112792)
Campbell Barton via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 15 16:01:21 PST 2025
================
@@ -216,17 +327,72 @@ uses the function `buffer-file-name'."
(if incomplete-format
(message "(clang-format: incomplete (syntax errors)%s)" stderr)
(message "(clang-format: success%s)" stderr))))
- (delete-file temp-file)
+ (ignore-errors (delete-file temp-file))
----------------
ideasman42 wrote:
suggest with-demoted-errors here too, could be a function as it's used elsewhere.
https://github.com/llvm/llvm-project/pull/112792
More information about the cfe-commits
mailing list