summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2011-01-14 13:17:24 +0100
committerTassilo Horn <tassilo@member.fsf.org>2011-01-14 13:17:24 +0100
commitab7eb8118053e3f9a992bf65afc874ab9fdb8b32 (patch)
treecb8d819030cb28f77a9d9fa9f742452b85187c52 /lisp
parent9cf56b2c82d98713b9e9287befcf40d224abe7c8 (diff)
downloademacs-ab7eb8118053e3f9a992bf65afc874ab9fdb8b32.tar.gz
* progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
loop keyword.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/sh-script.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a14148bf0e0..66fb8f3f12a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index ee7e4c3b1b6..52a72f0874e 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -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")