File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ supported vc."
233233 (string-width (expand-file-name base-dir))
234234 nil )))
235235 (let ((status (call-process
236- " git"
236+ vc- git-program
237237 nil
238238 `(:file , tmpfile-vc-head)
239239 nil
@@ -323,7 +323,7 @@ specific locations for reformatting (i.e diff locations)."
323323 (if incomplete-format
324324 (message " (clang-format: incomplete (syntax errors)%s ) " stderr)
325325 (message " (clang-format: success%s ) " stderr))))
326- (delete-file temp-file)
326+ (ignore-errors ( delete-file temp-file) )
327327 (when (buffer-name temp-buffer) (kill-buffer temp-buffer)))))
328328
329329
@@ -360,7 +360,7 @@ file. If no ASSUME-FILE-NAME is given uses the function
360360 style
361361 assume-file-name
362362 diff-lines))))
363- (progn
363+ (ignore-errors
364364 ; ; Cleanup temporary files we created.
365365 (when tmpfile-vc-head (delete-file tmpfile-vc-head))
366366 (when tmpfile-curbuf (delete-file tmpfile-curbuf))))))
You can’t perform that action at this time.
0 commit comments