comparison lisp/shell.el @ 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 297909766bad
children 3ed336667dbc
comparison
equal deleted inserted replaced
31036:b8536256a5e8 31037:7c81a282d217
319 "*Hook for customising Shell mode." 319 "*Hook for customising Shell mode."
320 :type 'hook 320 :type 'hook
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.")
329 328
330 ;;; Basic Procedures 329 ;;; Basic Procedures