Mercurial > emacs
changeset 62080:2922c607db05
(sh-font-lock-keywords): Use font-lock-negation-char-face.
author | Daniel Pfeiffer <occitan@esperanto.org> |
---|---|
date | Thu, 05 May 2005 19:03:32 +0000 |
parents | bd033c2d7fd4 |
children | c186a2b77f86 |
files | lisp/progmodes/sh-script.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Thu May 05 19:02:47 2005 +0000 +++ b/lisp/progmodes/sh-script.el Thu May 05 19:03:32 2005 +0000 @@ -827,7 +827,9 @@ ;; Function names. ("^\\(\\sw+\\)[ \t]*(" 1 font-lock-function-name-face) ("\\<\\(function\\)\\>[ \t]*\\(\\sw+\\)?" - (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))) + (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) + ("\\(?:^\\s *\\|[[();&|]\\s *\\|\\(?:\\s +-[ao]\\|if\\|else\\|then\\|while\\|do\\)\\s +\\)\\(!\\)" + 1 font-lock-negation-char-face)) ;; The next entry is only used for defining the others (shell sh-append executable-font-lock-keywords