]> git.eshelyaron.com Git - emacs.git/commitdiff
Use EVAL form for shell-prompt-pattern.
authorSimon Marshall <simon@gnu.org>
Thu, 17 Apr 1997 07:35:38 +0000 (07:35 +0000)
committerSimon Marshall <simon@gnu.org>
Thu, 17 Apr 1997 07:35:38 +0000 (07:35 +0000)
lisp/shell.el

index 690ff34fc2c557433c9abff6113e4dd0f75a1b1e..66a5653cbdbf822b041fe7311b5ed223ee618323 100644 (file)
@@ -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.")
 \f
 ;;; Basic Procedures