aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/sh-script.el4
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