]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 a14148bf0e09f289dd9d711f30cb29e43b349ed3..66fb8f3f12a1aabeeac92be8458674b00a444666 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 ee7e4c3b1b6c430d3d26a6d3c72f4d75d176ad93..52a72f0874ee7e94c2a68c598d2547a34a5c24e7 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")