emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r113986: * lisp/files.el (auto-mode-alist): Use sh-m


From: Glenn Morris
Subject: [Emacs-diffs] trunk r113986: * lisp/files.el (auto-mode-alist): Use sh-mode for .bash_history.
Date: Fri, 23 Aug 2013 18:58:44 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113986
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2013-08-23 14:58:41 -0400
message:
  * lisp/files.el (auto-mode-alist): Use sh-mode for .bash_history.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/files.el                  files.el-20091113204419-o5vbwnq5f7feedwu-265
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-08-23 17:34:09 +0000
+++ b/lisp/ChangeLog    2013-08-23 18:58:41 +0000
@@ -1,5 +1,7 @@
 2013-08-23  Glenn Morris  <address@hidden>
 
+       * files.el (auto-mode-alist): Use sh-mode for .bash_history.
+
        * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
 
        * files.el (create-file-buffer): If the result would begin with

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2013-08-23 17:34:09 +0000
+++ b/lisp/files.el     2013-08-23 18:58:41 +0000
@@ -2275,8 +2275,8 @@
      ("\\.scm\\.[0-9]*\\'" . scheme-mode)
      ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
      ("\\.bash\\'" . sh-mode)
-     
("\\(/\\|\\`\\)\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . 
sh-mode)
-     
("\\(/\\|\\`\\)\\.\\(bash_logout\\|shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'"
 . sh-mode)
+     
("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'"
 . sh-mode)
+     ("\\(/\\|\\`\\)\\.\\(shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . 
sh-mode)
      ("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . 
sh-mode)
      ("\\.m?spec\\'" . sh-mode)
      ("\\.m[mes]\\'" . nroff-mode)


reply via email to

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