Variable: font-lock-keywords-only

font-lock-keywords-only is a variable defined in font-lock.el.gz.

Value

nil

Documentation

Non-nil means Font Lock should not use syntactic fontifications.

This is normally set via font-lock-defaults. Setting it to a non-nil value will usually cause comments and strings not to be fontified, unless font-lock-keywords are set so as to fontify them, or some other font-lock mechanism has the same effect even when this variable is non-nil.

View in manual

Probably introduced at or before Emacs version 19.30.

Source Code

;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defvar font-lock-keywords-only nil
  "Non-nil means Font Lock should not use syntactic fontifications.
This is normally set via `font-lock-defaults'.  Setting it to a
non-nil value will usually cause comments and strings not to be
fontified, unless `font-lock-keywords' are set so as to fontify them,
or some other font-lock mechanism has the same effect even when this
variable is non-nil.")