1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

shell-font-lock-keywords efficiency fix.

This commit is contained in:
Simon Marshall 1995-04-24 11:51:28 +00:00
parent 9322d1c633
commit 86a21134a5

View 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.")