From: Simon Marshall Date: Mon, 24 Apr 1995 11:03:55 +0000 (+0000) Subject: change-log-font-lock-keywords efficiency fix. X-Git-Tag: emacs-19.34~4341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9e5d99e8b17b68e0c5cf2461695433897c4baa9;p=emacs.git change-log-font-lock-keywords efficiency fix. --- diff --git a/lisp/add-log.el b/lisp/add-log.el index 734fa5ebf86..b51d43b4158 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -44,7 +44,7 @@ This defaults to the value returned by the `user-full-name' function.") This defaults to the value of `user-mail-address'.") (defvar change-log-font-lock-keywords - '(("^[SMTWF].+$" . font-lock-function-name-face) ; Date line. + '(("^[SMTWF].+" . font-lock-function-name-face) ; Date line. ("^\t\\* \\([^ :\n]+\\)" 1 font-lock-comment-face) ; File name. ("\(\\([^)\n]+\\)\)" 1 font-lock-keyword-face)) ; Function name. "Additional expressions to highlight in Change Log mode.")