# HG changeset patch # User Pavel Jank # Date 1015853767 0 # Node ID d9af887af46c72c0dfef867326d31af47fb9cb8a # Parent aa881082fd04b9974db86f88ef44269fbad68ad1 (java-font-lock-extra-types): Add "URL" as separate item. Doc fix. diff -r aa881082fd04 -r d9af887af46c lisp/font-lock.el --- 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