changeset 11521:d580a6f682b5

shell-font-lock-keywords efficiency fix.
author Simon Marshall <simon@gnu.org>
date Mon, 24 Apr 1995 11:51:28 +0000
parents 994ec4698b78
children 5177611e8e4d
files lisp/shell.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shell.el	Mon Apr 24 11:49:06 1995 +0000
+++ b/lisp/shell.el	Mon Apr 24 11:51:28 1995 +0000
@@ -249,7 +249,7 @@
 (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.")