aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorMiles Bader2000-08-22 10:06:55 +0000
committerMiles Bader2000-08-22 10:06:55 +0000
commitcb6e07b14f390dc6cbc89b37a35a0cb665f79ece (patch)
treef5e354fd04fa5c2d00fb9778a174cec705863a49 /lisp/shell.el
parentd80061fab2bf2345fbb2b5a8fe8b837dc40a1acb (diff)
downloademacs-cb6e07b14f390dc6cbc89b37a35a0cb665f79ece.tar.gz
emacs-cb6e07b14f390dc6cbc89b37a35a0cb665f79ece.zip
(shell-font-lock-keywords): Remove prompt highlighting, since this is
now done independently of font-lock mode.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el3
1 files changed, 1 insertions, 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.")
321 :group 'shell) 321 :group 'shell)
322 322
323(defvar shell-font-lock-keywords 323(defvar shell-font-lock-keywords
324 '((eval . (cons shell-prompt-pattern 'font-lock-warning-face)) 324 '(("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face)
325 ("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face)
326 ("^[^ \t\n]+:.*" . font-lock-string-face) 325 ("^[^ \t\n]+:.*" . font-lock-string-face)
327 ("^\\[[1-9][0-9]*\\]" . font-lock-string-face)) 326 ("^\\[[1-9][0-9]*\\]" . font-lock-string-face))
328 "Additional expressions to highlight in Shell mode.") 327 "Additional expressions to highlight in Shell mode.")