Subject: 24.4.50; [PATCH] Use sh-mode for buffers with .zsh extension

From: Mark Oteiza <[email-masked]>
Date: Tue, 16 Sep 2014 16:15:57 -0400

* lisp/files.el (auto-mode-alist): add .zsh file extension
---
Second attempt sending, hopefully not spamming.

 lisp/ChangeLog | 4 ++++
 lisp/files.el  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 346634c..7aa4598 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-16  Mark Oteiza  <[email-masked]>
+
+	* files.el (auto-mode-alist): add .zsh file extension
+
 2014-09-08  Sam Steingold  <[email-masked]>
 
 	* progmodes/sql.el (sql-send-line-and-next): New command,
diff --git a/lisp/files.el b/lisp/files.el
index 486dee6..2646470 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2357,7 +2357,7 @@ since only a single case-insensitive search through the alist is made."
      ("[cC]hange[lL]og[-.][0-9]+\\'" . change-log-mode)
      ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
      ("\\.scm\\.[0-9]*\\'" . scheme-mode)
-     ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
+     ("\\.[ckz]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
      ("\\.bash\\'" . sh-mode)
      ("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'" . sh-mode)
      ("\\(/\\|\\`\\)\\.\\(shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode)
-- 
2.1.0