Lines Matching defs:feature
144 See variable `cwarn-font-lock-feature-keywords-alist' for available
149 (defcustom cwarn-font-lock-feature-keywords-alist
153 "An alist mapping a CWarn feature to font-lock keywords.
212 (defun cwarn-is-enabled (mode &optional feature)
214 feature is an atom representing one construction to highlight.
216 Check if any feature is enabled for MODE if no feature is specified.
219 `cwarn-font-lock-feature-keywords-alist'."
222 (or (null feature)
226 (not (memq feature (cdr list-or-t)))
227 (memq feature list-or-t))))))))
241 (dolist (pair cwarn-font-lock-feature-keywords-alist)
242 (let ((feature (car pair))
246 (if (cwarn-is-enabled major-mode feature)
289 ;; The variable `cwarn-font-lock-feature-keywords-alist' contains a
370 The mode is turned if some feature is enabled for the current