Function: magit-process-unset-mode-line-error-status
magit-process-unset-mode-line-error-status is a byte-compiled function
defined in magit-process.el.
Signature
(magit-process-unset-mode-line-error-status)
Documentation
Remove any current error status from the mode line.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-process.el
(defun magit-process-unset-mode-line-error-status ()
"Remove any current error status from the mode line."
(let ((status (or mode-line-process
(magit-repository-local-get 'mode-line-process))))
(when (and status
(eq (get-text-property 1 'font-lock-face status)
'magit-mode-line-process-error))
(magit-process-unset-mode-line))))