summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marshall <simon@gnu.org>1997-07-25 11:34:20 +0000
committerSimon Marshall <simon@gnu.org>1997-07-25 11:34:20 +0000
commit04087ffaf891a6a0ca007fae6e6e23b4e73f481b (patch)
treeb89a4e960d41b6d819e56bbbd082dc149af4b2c9
parentbd8d7ef36e5c37e35de8ef418b4b15d424398e52 (diff)
downloademacs-04087ffaf891a6a0ca007fae6e6e23b4e73f481b.tar.gz
Add type specs "explicit" "mutable".
-rw-r--r--lisp/font-lock.el10
1 files 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 <mmitchell@usa.net> says these are new.
+ "explicit" "mutable"))))
c++-font-lock-extra-types)
"\\|"))
;;