Mercurial > emacs
comparison lisp/font-lock.el @ 26915:11fddded9ceb
(java-keywords): Add Javadoc tags as of JDK 1.2.1.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 16 Dec 1999 12:08:25 +0000 |
parents | ea2b51ce35a7 |
children | e510f839bc63 |
comparison
equal
deleted
inserted
replaced
26914:09c7b74fa57f | 26915:11fddded9ceb |
---|---|
2941 ;; | 2941 ;; |
2942 ;; Fontify all constants. | 2942 ;; Fontify all constants. |
2943 '("\\<\\(false\\|null\\|true\\)\\>" . font-lock-constant-face) | 2943 '("\\<\\(false\\|null\\|true\\)\\>" . font-lock-constant-face) |
2944 ;; | 2944 ;; |
2945 ;; Javadoc tags within comments. | 2945 ;; Javadoc tags within comments. |
2946 '("@\\(author\\|exception\\|return\\|see\\|version\\)\\>" | 2946 '("@\\(author\\|deprecated\\|link\\|return\\|see\\|version\\)\\>" |
2947 (1 font-lock-constant-face prepend)) | 2947 (1 font-lock-constant-face prepend)) |
2948 '("@\\(param\\)\\>[ \t]*\\(\\sw+\\)?" | 2948 '("@\\(param\\)\\>[ \t]*\\(\\sw+\\)?" |
2949 (1 font-lock-constant-face prepend) | 2949 (1 font-lock-constant-face prepend) |
2950 (2 font-lock-variable-name-face prepend t)) | 2950 (2 font-lock-variable-name-face prepend t)) |
2951 '("@\\(exception\\|throws\\)\\>[ \t]*\\(\\S-+\\)?" | |
2952 (1 font-lock-constant-face prepend) | |
2953 (2 font-lock-type-face prepend t)) | |
2951 ))) | 2954 ))) |
2952 | 2955 |
2953 (setq java-font-lock-keywords-3 | 2956 (setq java-font-lock-keywords-3 |
2954 (append java-font-lock-keywords-2 | 2957 (append java-font-lock-keywords-2 |
2955 ;; | 2958 ;; |