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:
parent
9322d1c633
commit
86a21134a5
@ -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.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user