changeset 112217:b47167f02517

* progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach loop keyword.
author Tassilo Horn <tassilo@member.fsf.org>
date Fri, 14 Jan 2011 13:17:24 +0100
parents 7e73e0f65914
children 07e52ed69b5d
files lisp/ChangeLog lisp/progmodes/sh-script.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jan 14 12:25:56 2011 +0100
+++ b/lisp/ChangeLog	Fri Jan 14 13:17:24 2011 +0100
@@ -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.
--- a/lisp/progmodes/sh-script.el	Fri Jan 14 12:25:56 2011 +0100
+++ b/lisp/progmodes/sh-script.el	Fri Jan 14 13:17:24 2011 +0100
@@ -762,7 +762,7 @@
     (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")