diff options
author | Simon Marshall <simon@gnu.org> | 1995-04-24 11:51:28 +0000 |
---|---|---|
committer | Simon Marshall <simon@gnu.org> | 1995-04-24 11:51:28 +0000 |
commit | 100c1469eb438669f2890ff36904671616958a50 (patch) | |
tree | c3a33000fa89f8ad98c224770af5ba05f46272f7 /lisp/shell.el | |
parent | 93947e1b05dc88664bf2de645383597202a6bc2d (diff) | |
download | emacs-100c1469eb438669f2890ff36904671616958a50.tar.gz |
shell-font-lock-keywords efficiency fix.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 2 |
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.") |