From: Simon Marshall Date: Mon, 24 Apr 1995 11:51:28 +0000 (+0000) Subject: shell-font-lock-keywords efficiency fix. X-Git-Tag: emacs-19.34~4337 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86a21134a5d7a6dcf3c54a24ea1341784772b9bd;p=emacs.git shell-font-lock-keywords efficiency fix. --- diff --git a/lisp/shell.el b/lisp/shell.el index e75878deb26..02d00fd72e2 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -249,7 +249,7 @@ Thus, this does not include the shell's current directory.") (defvar shell-font-lock-keywords (list (cons shell-prompt-pattern 'font-lock-keyword-face) '("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face) - '("^[^ \t\n]+:.*$" . font-lock-string-face) + '("^[^ \t\n]+:.*" . font-lock-string-face) '("^\\[[1-9][0-9]*\\]" . font-lock-string-face)) "Additional expressions to highlight in Shell mode.")