Function: elint-set-mode-line

elint-set-mode-line is a byte-compiled function defined in elint.el.gz.

Signature

(elint-set-mode-line &optional ON)

Documentation

Set the mode-line-process of the Elint log buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/elint.el.gz
(defun elint-set-mode-line (&optional on)
  "Set the `mode-line-process' of the Elint log buffer."
  (with-current-buffer (elint-get-log-buffer)
    (and (eq major-mode 'compilation-mode)
	 (setq mode-line-process
	       (list (if (or on (bound-and-true-p elint-running))
			 (propertize ":run" 'face 'compilation-warning)
		       (propertize ":finished" 'face 'compilation-info)))))))