]> git.eshelyaron.com Git - emacs.git/commitdiff
shell-font-lock-keywords efficiency fix.
authorSimon Marshall <simon@gnu.org>
Mon, 24 Apr 1995 11:51:28 +0000 (11:51 +0000)
committerSimon Marshall <simon@gnu.org>
Mon, 24 Apr 1995 11:51:28 +0000 (11:51 +0000)
lisp/shell.el

index e75878deb26d3984f114f037d53f857f00cd0da2..02d00fd72e26bf90be529d6d536ada07501cc317 100644 (file)
@@ -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.")
 \f