Function: projectile--surface-ext-command-errors

projectile--surface-ext-command-errors is a byte-compiled function defined in projectile.el.

Signature

(projectile--surface-ext-command-errors ERRORS-FILE)

Documentation

Copy ERRORS-FILE's contents into the *projectile-files-errors* buffer.

Return non-nil when ERRORS-FILE held any text. Shared by the synchronous and asynchronous indexing-command runners so a failing command's stderr is available for inspection.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--surface-ext-command-errors (errors-file)
  "Copy ERRORS-FILE's contents into the `*projectile-files-errors*' buffer.
Return non-nil when ERRORS-FILE held any text.  Shared by the synchronous
and asynchronous indexing-command runners so a failing command's stderr is
available for inspection."
  (with-current-buffer (get-buffer-create "*projectile-files-errors*")
    (let ((inhibit-read-only t))
      (erase-buffer)
      (ignore-errors (insert-file-contents errors-file))
      (> (buffer-size) 0))))