Variable: font-latex-deactivated-keyword-classes

font-latex-deactivated-keyword-classes is a customizable variable defined in font-latex.el.

Value

nil

Documentation

List of strings for built-in keyword classes to be deactivated.

Valid entries are "warning", "variable", "biblatexnoarg",
"biblatex", "reference", "function", "function-noarg",
"sectioning-0", "sectioning-1", "sectioning-2",
"sectioning-3", "sectioning-4", "sectioning-5",
"slide-title", "textual", "bold-command",
"italic-command", "underline-command", "math-command",
"type-command", "bold-declaration", "italic-declaration" or
"type-declaration".

You have to restart Emacs for a change of this variable to take effect.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/font-latex.el
(defcustom font-latex-deactivated-keyword-classes nil
  "List of strings for built-in keyword classes to be deactivated.

Valid entries are \"warning\", \"variable\", \"biblatexnoarg\",
\"biblatex\", \"reference\", \"function\", \"function-noarg\",
\"sectioning-0\", \"sectioning-1\", \"sectioning-2\",
\"sectioning-3\", \"sectioning-4\", \"sectioning-5\",
\"slide-title\", \"textual\", \"bold-command\",
\"italic-command\", \"underline-command\", \"math-command\",
\"type-command\", \"bold-declaration\", \"italic-declaration\" or
\"type-declaration\".

You have to restart Emacs for a change of this variable to take effect."
  :group 'font-latex-keywords
  :type `(set ,@(mapcar
                 (lambda (spec)
                   `(const :tag ,(concat
                                  ;; Name of the keyword class
                                  (let ((name (split-string (car spec) "-")))
                                    (setcar name (capitalize (car name)))
                                    (mapconcat #'identity name " "))
                                  " keywords in `"
                                  ;; Name of the face
                                  (symbol-name
                                   (let ((face (nth 2 spec)))
                                     (if (symbolp face) face (eval face t))))
                                  "'.\n"
                                  ;; List of keywords
                                  (with-temp-buffer
                                    (insert "  Keywords: "
                                            (mapconcat (lambda (x)
                                                         (if (listp x)
                                                             (car x)
                                                           x))
                                                       (nth 1 spec) ", "))
                                    (fill-paragraph nil)
                                    (buffer-string)))
                           ,(car spec)))
                 font-latex-built-in-keyword-classes)))