changeset 43835:d9af887af46c

(java-font-lock-extra-types): Add "URL" as separate item. Doc fix.
author Pavel Janík <Pavel@Janik.cz>
date Mon, 11 Mar 2002 13:36:07 +0000
parents aa881082fd04
children 04ed48e48558
files lisp/font-lock.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Mon Mar 11 13:32:22 2002 +0000
+++ b/lisp/font-lock.el	Mon Mar 11 13:36:07 2002 +0000
@@ -2209,11 +2209,12 @@
   :group 'font-lock-extra-types)
 
 (defcustom java-font-lock-extra-types
-  '("[A-Z\300-\326\330-\337]\\sw*[a-zA-Z]\\sw*")
+  '("[A-Z\300-\326\330-\337]\\sw*[a-z]\\sw*" "URL")
   "*List of extra types to fontify in Java mode.
 Each list item should be a regexp not containing word-delimiters.
-For example, a value of (\"[A-Z\300-\326\330-\337]\\\\sw*[a-z]\\\\sw*\") means capitalised
-words (and words conforming to the Java id spec) are treated as type names.
+For example, a value of (\"[A-Z\300-\326\330-\337]\\\\sw*[a-z]\\\\sw*\" \"URL\") means
+capitalised words (that conform to the Java id spec) and URL 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