* progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
authorTassilo Horn <tassilo@member.fsf.org>
Fri, 14 Jan 2011 12:17:24 +0000 (13:17 +0100)
committerTassilo Horn <tassilo@member.fsf.org>
Fri, 14 Jan 2011 12:17:24 +0000 (13:17 +0100)
loop keyword.

lisp/ChangeLog
lisp/progmodes/sh-script.el

index a14148b..66fb8f3 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
+       loop keyword.
+
 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
index ee7e4c3..52a72f0 100644 (file)
@@ -762,7 +762,7 @@ flow of control or syntax.  See `sh-feature'."
     (shell "break" "case" "continue" "exec" "exit")
 
     (zsh sh-append bash
-        "select"))
+        "select" "foreach"))
   "List of keywords not in `sh-leading-keywords'.
 See `sh-feature'."
   :type '(repeat (cons (symbol :tag "Shell")