From cb6e07b14f390dc6cbc89b37a35a0cb665f79ece Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 22 Aug 2000 10:06:55 +0000 Subject: [PATCH] (shell-font-lock-keywords): Remove prompt highlighting, since this is now done independently of font-lock mode. --- lisp/shell.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.") -- 2.39.2