Mercurial > emacs
changeset 31037:7c81a282d217
(shell-font-lock-keywords): Remove prompt highlighting, since this is
now done independently of font-lock mode.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 22 Aug 2000 10:06:55 +0000 |
parents | b8536256a5e8 |
children | 9e1d7707876b |
files | lisp/shell.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/shell.el Tue Aug 22 10:00:34 2000 +0000 +++ b/lisp/shell.el Tue Aug 22 10:06:55 2000 +0000 @@ -321,8 +321,7 @@ :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.")