add-log font-lock fix for mutilple authors (bug#8644)

* lisp/vc/add-log.el (change-log-font-lock-keywords): Also handle multiple
author lines with leading tabs.
This commit is contained in:
Glenn Morris 2011-05-14 16:58:25 -07:00
parent 7210a7391f
commit 375cb676c1
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
* vc/add-log.el (add-change-log-entry): Don't start adding a new entry
in the middle of an existing one with multiple authors. (Bug#8645)
(change-log-font-lock-keywords): Also handle multiple author lines
with leading tabs. (Bug#8644)
* calendar/appt.el (appt-check): Rename some local variables.
Some simplification/reordering.

View file

@ -241,7 +241,7 @@ Note: The search is conducted only within 10%, at the beginning of the file."
;; wrongly with a non-date line existing as a random note. In
;; addition, using any kind of fixed setting like this doesn't
;; work if a user customizes add-log-time-format.
("^[0-9-]+ +\\|^ \\{11,\\}\\|^\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\) [A-z][a-z][a-z] [0-9:+ ]+"
("^[0-9-]+ +\\|^ \\{11,\\}\\|^\t \\{3,\\}\\|^\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\) [A-z][a-z][a-z] [0-9:+ ]+"
(0 'change-log-date-face)
;; Name and e-mail; some people put e-mail in parens, not angles.
("\\([^<(]+?\\)[ \t]*[(<]\\([A-Za-z0-9_.+-]+@[A-Za-z0-9_.-]+\\)[>)]" nil nil