Function: global-font-lock-mode

global-font-lock-mode is an interactive and byte-compiled function defined in font-core.el.gz.

Signature

(global-font-lock-mode &optional ARG)

Documentation

Toggle Font-Lock mode in all buffers.

With prefix ARG, enable Global Font-Lock 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.

Font-Lock mode is enabled in all buffers where turn-on-font-lock-if-desired would do it.

See font-lock-mode(var)/font-lock-mode(fun) for more information on Font-Lock mode.

Probably introduced at or before Emacs version 19.31.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/font-core.el.gz
(define-globalized-minor-mode global-font-lock-mode
  font-lock-mode turn-on-font-lock-if-desired
  ;; What was this :extra-args thingy for?  --Stef
  ;; :extra-args (dummy)
  :initialize 'custom-initialize-delay
  :init-value (not (or noninteractive emacs-basic-display))
  :group 'font-lock
  :version "22.1")