Function: compilation--downcase-mode-name
compilation--downcase-mode-name is a byte-compiled function defined in
compile.el.gz.
Signature
(compilation--downcase-mode-name MODE)
Documentation
Downcase the name of major MODE, even if MODE is not a string.
The function downcase will barf if passed the name of a major-mode
which is not a string, but instead a symbol or a list.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defun compilation--downcase-mode-name (mode)
"Downcase the name of major MODE, even if MODE is not a string.
The function `downcase' will barf if passed the name of a `major-mode'
which is not a string, but instead a symbol or a list."
(downcase (format-mode-line mode)))