summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorSimon Marshall <simon@gnu.org>1995-04-24 11:51:28 +0000
committerSimon Marshall <simon@gnu.org>1995-04-24 11:51:28 +0000
commit100c1469eb438669f2890ff36904671616958a50 (patch)
treec3a33000fa89f8ad98c224770af5ba05f46272f7 /lisp/shell.el
parent93947e1b05dc88664bf2de645383597202a6bc2d (diff)
downloademacs-100c1469eb438669f2890ff36904671616958a50.tar.gz
shell-font-lock-keywords efficiency fix.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el2
1 files changed, 1 insertions, 1 deletions
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.")