From 340fe50f3b5fe8b00fb5c4a6fd51b7fbd5bb140b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 16 Dec 1999 12:11:18 +0000 Subject: [PATCH] (java-keywords): Add Javadoc tags as of JDK 1.2.1. --- lisp/ChangeLog | 4 ++++ lisp/font-lock.el | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.39.5