From 86a21134a5d7a6dcf3c54a24ea1341784772b9bd Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Mon, 24 Apr 1995 11:51:28 +0000 Subject: [PATCH] shell-font-lock-keywords efficiency fix. --- lisp/shell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.") -- 2.11.4.GIT