comparison lisp/font-lock.el @ 43604:ddc2bf2b2077

(java-font-lock-extra-types): Match java.net.URL, etc.
author Richard M. Stallman <rms@gnu.org>
date Fri, 01 Mar 2002 00:31:26 +0000
parents 448551584591
children 264efb189de1
comparison
equal deleted inserted replaced
43603:01a43d026daa 43604:ddc2bf2b2077
2204 The value of this variable is used when Font Lock mode is turned on." 2204 The value of this variable is used when Font Lock mode is turned on."
2205 :type 'font-lock-extra-types-widget 2205 :type 'font-lock-extra-types-widget
2206 :group 'font-lock-extra-types) 2206 :group 'font-lock-extra-types)
2207 2207
2208 (defcustom java-font-lock-extra-types 2208 (defcustom java-font-lock-extra-types
2209 '("[A-Z\300-\326\330-\337]\\sw*[a-z]\\sw*") 2209 '("[A-Z\300-\326\330-\337]\\sw*[a-zA-Z]\\sw*")
2210 "*List of extra types to fontify in Java mode. 2210 "*List of extra types to fontify in Java mode.
2211 Each list item should be a regexp not containing word-delimiters. 2211 Each list item should be a regexp not containing word-delimiters.
2212 For example, a value of (\"[A-Z\300-\326\330-\337]\\\\sw*[a-z]\\\\sw*\") means capitalised 2212 For example, a value of (\"[A-Z\300-\326\330-\337]\\\\sw*[a-z]\\\\sw*\") means capitalised
2213 words (and words conforming to the Java id spec) are treated as type names. 2213 words (and words conforming to the Java id spec) are treated as type names.
2214 2214