]> git.eshelyaron.com Git - emacs.git/commitdiff
(java-keywords): Add Javadoc tags as of JDK 1.2.1.
authorGerd Moellmann <gerd@gnu.org>
Thu, 16 Dec 1999 12:11:18 +0000 (12:11 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 16 Dec 1999 12:11:18 +0000 (12:11 +0000)
lisp/ChangeLog
lisp/font-lock.el

index f2a0a6dede82aa58756807b5ee832e7c7981c07c..3eae79d4a9112c215b85a1ebc469674033a29509 100644 (file)
@@ -1,3 +1,7 @@
+1999-12-16  Gerd Moellmann  <gerd@gnu.org>
+
+       * font-lock.el (java-keywords): Add Javadoc tags as of JDK 1.2.1.
+
 1999-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * ls-lisp.el (ls-lisp-insert-directory): Print an explicit message
index 7da2c0f56524bdc616887c3251ed2acb60b7ab7e..cf612452105e05cad0fa9eb09eb9e5426bf4776a 100644 (file)
@@ -2943,11 +2943,14 @@ See also `java-font-lock-extra-types'.")
     '("\\<\\(false\\|null\\|true\\)\\>" . font-lock-constant-face)
     ;;
     ;; Javadoc tags within comments.
-    '("@\\(author\\|exception\\|return\\|see\\|version\\)\\>"
+    '("@\\(author\\|deprecated\\|link\\|return\\|see\\|version\\)\\>"
       (1 font-lock-constant-face prepend))
     '("@\\(param\\)\\>[ \t]*\\(\\sw+\\)?"
       (1 font-lock-constant-face prepend)
       (2 font-lock-variable-name-face prepend t))
+    '("@\\(exception\\|throws\\)\\>[ \t]*\\(\\S-+\\)?"
+      (1 font-lock-constant-face prepend)
+      (2 font-lock-type-face prepend t))
     )))
 
  (setq java-font-lock-keywords-3