diff options
| -rw-r--r-- | lisp/add-log.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 287ff094ae8..63a758dd2ce 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -116,17 +116,22 @@ this variable." | |||
| 116 | ;; Date lines, new and old styles. | 116 | ;; Date lines, new and old styles. |
| 117 | ("^\\sw.........[0-9:+ ]*" | 117 | ("^\\sw.........[0-9:+ ]*" |
| 118 | (0 font-lock-string-face) | 118 | (0 font-lock-string-face) |
| 119 | ("\\([^<]+\\)<\\([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\\)>" nil nil | 119 | ;; Name and e-mail; some people put e-mail in parens, not angles. |
| 120 | ("\\([^<(]+\\)[(<]\\([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\\)[>)]" nil nil | ||
| 120 | (1 font-lock-constant-face) | 121 | (1 font-lock-constant-face) |
| 121 | (2 font-lock-variable-name-face))) | 122 | (2 font-lock-variable-name-face))) |
| 122 | ;; | 123 | ;; |
| 123 | ;; File names. | 124 | ;; File names. |
| 124 | ("^\t\\* \\([^ ,:([\n]+\\)" | 125 | ("^\t\\* \\([^ ,:([\n]+\\)" |
| 125 | (1 font-lock-function-name-face) | 126 | (1 font-lock-function-name-face) |
| 126 | ("\\=, \\([^ ,:([\n]+\\)" nil nil (1 font-lock-function-name-face))) | 127 | ;; Possibly further names in a list: |
| 128 | ("\\=, \\([^ ,:([\n]+\\)" nil nil (1 font-lock-function-name-face)) | ||
| 129 | ;; Possibly a parenthesized list of names: | ||
| 130 | ("\\= (\\([^) ,:\n]+\\)" nil nil (1 font-lock-keyword-face)) | ||
| 131 | ("\\=, *\\([^) ,:\n]+\\)" nil nil (1 font-lock-keyword-face))) | ||
| 127 | ;; | 132 | ;; |
| 128 | ;; Function or variable names. | 133 | ;; Function or variable names. |
| 129 | ("(\\([^) ,:\n]+\\)" | 134 | ("^\t(\\([^) ,:\n]+\\)" |
| 130 | (1 font-lock-keyword-face) | 135 | (1 font-lock-keyword-face) |
| 131 | ("\\=, *\\([^) ,:\n]+\\)" nil nil (1 font-lock-keyword-face))) | 136 | ("\\=, *\\([^) ,:\n]+\\)" nil nil (1 font-lock-keyword-face))) |
| 132 | ;; | 137 | ;; |