From: Gerd Moellmann Date: Thu, 16 Dec 1999 12:11:18 +0000 (+0000) Subject: (java-keywords): Add Javadoc tags as of JDK 1.2.1. X-Git-Tag: emacs-pretest-21.0.90~5696 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=340fe50f3b5fe8b00fb5c4a6fd51b7fbd5bb140b;p=emacs.git (java-keywords): Add Javadoc tags as of JDK 1.2.1. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2a0a6dede8..3eae79d4a91 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +1999-12-16 Gerd Moellmann + + * font-lock.el (java-keywords): Add Javadoc tags as of JDK 1.2.1. + 1999-12-16 Eli Zaretskii * ls-lisp.el (ls-lisp-insert-directory): Print an explicit message diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 7da2c0f5652..cf612452105 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -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