summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorErik Naggum <erik@naggum.no>1997-05-22 19:10:29 +0000
committerErik Naggum <erik@naggum.no>1997-05-22 19:10:29 +0000
commit6f6a26416e90e422c8702673e278da929e39aa4e (patch)
tree538f47334fdb22891b0315cd787c2061fead52df /lisp/add-log.el
parent97fd9abf62f9ae381fa22c26c888aa5d8f835a7b (diff)
downloademacs-6f6a26416e90e422c8702673e278da929e39aa4e.tar.gz
(change-log-font-lock-keywords): Tweak font-lock-keywords.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r--lisp/add-log.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 27ace80f219..3b963bd3bbe 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -68,9 +68,11 @@ This defaults to the value of `user-mail-address'."
(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]+\\)"