aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1997-07-25 11:34:20 +0000
committerSimon Marshall1997-07-25 11:34:20 +0000
commitd77c8526beea2148c4cd0ad716d4a78080192ad7 (patch)
tree34eb8feaa5faa7bb47398ed3d410d7ed2214f434
parent43807b770363bb9d449bdb4b17bd030cbda8163c (diff)
downloademacs-d77c8526beea2148c4cd0ad716d4a78080192ad7.tar.gz
emacs-d77c8526beea2148c4cd0ad716d4a78080192ad7.zip
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."
2202 :type 'font-lock-extra-types-widget 2202 :type 'font-lock-extra-types-widget
2203 :group 'font-lock-extra-types) 2203 :group 'font-lock-extra-types)
2204 2204
2205(defcustom c++-font-lock-extra-types '("string") 2205(defcustom c++-font-lock-extra-types '("string" "wchar_t")
2206 "*List of extra types to fontify in C++ mode. 2206 "*List of extra types to fontify in C++ mode.
2207Each list item should be a regexp not containing word-delimiters. 2207Each list item should be a regexp not containing word-delimiters.
2208For example, a value of (\"string\") means the word string is treated as a type 2208For example, a value of (\"string\" \"wchar_t\") means the words string and
2209name. 2209wchar_t are treated as type names.
2210 2210
2211The value of this variable is used when Font Lock mode is turned on." 2211The value of this variable is used when Font Lock mode is turned on."
2212 :type 'font-lock-extra-types-widget 2212 :type 'font-lock-extra-types-widget
@@ -2442,7 +2442,9 @@ See also `c++-font-lock-extra-types'.")
2442 "union" "enum" "signed" "unsigned" "short" "long" 2442 "union" "enum" "signed" "unsigned" "short" "long"
2443 "int" "char" "float" "double" "void" "volatile" "const" 2443 "int" "char" "float" "double" "void" "volatile" "const"
2444 "inline" "friend" "bool" "virtual" "complex" "template" 2444 "inline" "friend" "bool" "virtual" "complex" "template"
2445 "namespace" "using")))) 2445 "namespace" "using"
2446 ;; Mark Mitchell <mmitchell@usa.net> says these are new.
2447 "explicit" "mutable"))))
2446 c++-font-lock-extra-types) 2448 c++-font-lock-extra-types)
2447 "\\|")) 2449 "\\|"))
2448 ;; 2450 ;;