From d77c8526beea2148c4cd0ad716d4a78080192ad7 Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Fri, 25 Jul 1997 11:34:20 +0000 Subject: [PATCH] Add type specs "explicit" "mutable". --- lisp/font-lock.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 6007c1869c1..8533359d805 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -2202,11 +2202,11 @@ The value of this variable is used when Font Lock mode is turned on." :type 'font-lock-extra-types-widget :group 'font-lock-extra-types) -(defcustom c++-font-lock-extra-types '("string") +(defcustom c++-font-lock-extra-types '("string" "wchar_t") "*List of extra types to fontify in C++ mode. Each list item should be a regexp not containing word-delimiters. -For example, a value of (\"string\") means the word string is treated as a type -name. +For example, a value of (\"string\" \"wchar_t\") means the words string and +wchar_t are treated as type names. The value of this variable is used when Font Lock mode is turned on." :type 'font-lock-extra-types-widget @@ -2442,7 +2442,9 @@ See also `c++-font-lock-extra-types'.") "union" "enum" "signed" "unsigned" "short" "long" "int" "char" "float" "double" "void" "volatile" "const" "inline" "friend" "bool" "virtual" "complex" "template" - "namespace" "using")))) + "namespace" "using" + ;; Mark Mitchell says these are new. + "explicit" "mutable")))) c++-font-lock-extra-types) "\\|")) ;; -- 2.39.2