bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mark Oteiza
Subject: bug#18488: 24.4.50; [PATCH] Use sh-mode for buffers with .zsh extension
Date: Tue, 16 Sep 2014 16:15:57 -0400
User-agent: Mutt/1.5.23+11 (4a814b05874f) (2014-03-12)

* 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  <address@hidden>
+
+       * files.el (auto-mode-alist): add .zsh file extension
+
 2014-09-08  Sam Steingold  <address@hidden>
 
        * 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]