Function: global-cwarn-mode

global-cwarn-mode is an autoloaded, interactive and byte-compiled function defined in cwarn.el.gz.

Signature

(global-cwarn-mode &optional ARG)

Documentation

Toggle Cwarn mode in many buffers.

Specifically, Cwarn mode is enabled in all buffers where turn-on-cwarn-mode-if-enabled would do it.

With prefix ARG, enable Global Cwarn mode if ARG is positive; otherwise, disable it.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

See cwarn-mode(var)/cwarn-mode(fun) for more information on Cwarn mode.

View in manual

Probably introduced at or before Emacs version 21.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cwarn.el.gz
;;;###autoload
(define-globalized-minor-mode global-cwarn-mode
  cwarn-mode turn-on-cwarn-mode-if-enabled)