Mercurial > emacs
changeset 17923:986fa91361cc
(change-log-font-lock-keywords): Tweak font-lock-keywords.
author | Erik Naggum <erik@naggum.no> |
---|---|
date | Thu, 22 May 1997 19:10:29 +0000 |
parents | 29d58e05d603 |
children | 9eb3383d05a6 |
files | lisp/add-log.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/add-log.el Thu May 22 19:00:25 1997 +0000 +++ b/lisp/add-log.el Thu May 22 19:10:29 1997 +0000 @@ -68,9 +68,11 @@ (defvar change-log-font-lock-keywords '(;; ;; Date lines, new and old styles. - ("^\\sw........." + ("^\\sw.........[0-9: ]*" (0 font-lock-string-face) - ("[A-Z][^\n<]+" nil nil (0 font-lock-reference-face))) + ("\\([^<]+\\)<\\([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\\)>" nil nil + (1 font-lock-reference-face) + (2 font-lock-variable-name-face))) ;; ;; File names. ("^\t\\* \\([^ ,:([\n]+\\)"