From: Miles Bader Date: Tue, 22 Aug 2000 10:06:55 +0000 (+0000) Subject: (shell-font-lock-keywords): Remove prompt highlighting, since this is X-Git-Tag: emacs-pretest-21.0.90~2102 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb6e07b14f390dc6cbc89b37a35a0cb665f79ece;p=emacs.git (shell-font-lock-keywords): Remove prompt highlighting, since this is now done independently of font-lock mode. --- diff --git a/lisp/shell.el b/lisp/shell.el index b93fe57402f..ea0251bb1da 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -321,8 +321,7 @@ Thus, this does not include the shell's current directory.") :group 'shell) (defvar shell-font-lock-keywords - '((eval . (cons shell-prompt-pattern 'font-lock-warning-face)) - ("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-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.")