mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Use EVAL form for shell-prompt-pattern.
This commit is contained in:
parent
94d175889a
commit
473fbd897f
1 changed files with 4 additions and 4 deletions
|
|
@ -305,10 +305,10 @@ Thus, this does not include the shell's current directory.")
|
|||
:group 'shell)
|
||||
|
||||
(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)
|
||||
'("^\\[[1-9][0-9]*\\]" . font-lock-string-face))
|
||||
'((eval . (cons shell-prompt-pattern 'font-lock-warning-face))
|
||||
("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face)
|
||||
("^[^ \t\n]+:.*" . font-lock-string-face)
|
||||
("^\\[[1-9][0-9]*\\]" . font-lock-string-face))
|
||||
"Additional expressions to highlight in Shell mode.")
|
||||
|
||||
;;; Basic Procedures
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue