Subject: bug#18488: closed (Re: bug#18488: 24.4.50; [PATCH] Use sh-mode for buffers with .zsh extension)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 04 Oct 2014 07:28:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18488: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18488
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#18488: 24.4.50; [PATCH] Use sh-mode for buffers with .zsh extension
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sat, 04 Oct 2014 03:27:25 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 25.1

Thanks; applied.

Subject: 24.4.50; [PATCH] Use sh-mode for buffers with .zsh extension
From: Mark Oteiza <[email-masked]>
To: [email-masked]
Date: Tue, 16 Sep 2014 16:15:57 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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