Function: flymake--log-1
flymake--log-1 is a byte-compiled function defined in flymake.el.gz.
Signature
(flymake--log-1 LEVEL SUBLOG MSG &rest ARGS)
Documentation
Do actual work for flymake-log.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defun flymake--log-1 (level sublog msg &rest args)
"Do actual work for `flymake-log'."
(let (;; never popup the log buffer
(warning-minimum-level :emergency)
(warning-type-format
(format " [%s %s]"
(or sublog 'flymake)
;; Handle file names with "%" correctly. (Bug#51549)
(replace-regexp-in-string "%" "%%"
(buffer-name (current-buffer))))))
(display-warning (list 'flymake sublog)
(apply #'format-message msg args)
(if (numberp level)
(or (nth level
'(:emergency :error :warning :debug :debug) )
:error)
level)
"*Flymake log*")))