]> git.eshelyaron.com Git - emacs.git/commitdiff
(java-font-lock-extra-types): Add "URL" as separate item. Doc fix.
authorPavel Janík <Pavel@Janik.cz>
Mon, 11 Mar 2002 13:39:02 +0000 (13:39 +0000)
committerPavel Janík <Pavel@Janik.cz>
Mon, 11 Mar 2002 13:39:02 +0000 (13:39 +0000)
lisp/ChangeLog
lisp/font-lock.el

index 600dbcd19576d556871d26c95fbfe5fd91738ee4..7cb73baa7d1b03bf4e33f16e854e9c22b20e59f2 100644 (file)
@@ -1,3 +1,13 @@
+2002-03-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
+       item.  Doc fix.
+
+       * image.el (image-type-from-file-header): Make temporary buffer
+       unibyte.
+
+       * subr.el (add-to-list): Doc fix.
+
 2002-03-07  Miles Bader  <miles@gnu.org>
 
        * pcomplete.el (pcomplete-entries): Expand environment variables
@@ -10,7 +20,7 @@
 2002-03-10  Jan D.  <Jan.Djarv@mbox200.swipnet.se>
 
        * startup.el (command-line): Add call to emacs-session-restore if
-       both x-session-id and x-session-previous-id are strings
+       both x-session-id and x-session-previous-id are strings.
 
        * term/x-win.el (x-handle-smid): New function.
        (emacs-session-filename): New function.
index fbacb7590c94527789af2bfa5e827537ccdc5256..308a3e2789cb31598dafce4964096b4ac843d87c 100644 (file)
@@ -2209,11 +2209,12 @@ The value of this variable is used when Font Lock mode is turned on."
   :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