diff options
| author | Daniel Pfeiffer | 2005-05-05 19:03:32 +0000 |
|---|---|---|
| committer | Daniel Pfeiffer | 2005-05-05 19:03:32 +0000 |
| commit | d5f2a89966b7936d09082a6c779e2fec9a42d354 (patch) | |
| tree | da30b22df34a81b187e0611db92bd5d7593635c9 | |
| parent | bd8cf50578f961281c68cea763a3ab737e1ff248 (diff) | |
| download | emacs-d5f2a89966b7936d09082a6c779e2fec9a42d354.tar.gz emacs-d5f2a89966b7936d09082a6c779e2fec9a42d354.zip | |
(sh-font-lock-keywords): Use font-lock-negation-char-face.
| -rw-r--r-- | lisp/progmodes/sh-script.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 1a87dcaad0f..55ea460e421 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -827,7 +827,9 @@ See `sh-feature'.") | |||
| 827 | ;; Function names. | 827 | ;; Function names. |
| 828 | ("^\\(\\sw+\\)[ \t]*(" 1 font-lock-function-name-face) | 828 | ("^\\(\\sw+\\)[ \t]*(" 1 font-lock-function-name-face) |
| 829 | ("\\<\\(function\\)\\>[ \t]*\\(\\sw+\\)?" | 829 | ("\\<\\(function\\)\\>[ \t]*\\(\\sw+\\)?" |
| 830 | (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))) | 830 | (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) |
| 831 | ("\\(?:^\\s *\\|[[();&|]\\s *\\|\\(?:\\s +-[ao]\\|if\\|else\\|then\\|while\\|do\\)\\s +\\)\\(!\\)" | ||
| 832 | 1 font-lock-negation-char-face)) | ||
| 831 | 833 | ||
| 832 | ;; The next entry is only used for defining the others | 834 | ;; The next entry is only used for defining the others |
| 833 | (shell sh-append executable-font-lock-keywords | 835 | (shell sh-append executable-font-lock-keywords |