]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/files.el (auto-mode-alist): Use sh-mode for .bash_history.
authorGlenn Morris <rgm@gnu.org>
Fri, 23 Aug 2013 18:58:41 +0000 (14:58 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 23 Aug 2013 18:58:41 +0000 (14:58 -0400)
lisp/ChangeLog
lisp/files.el

index 6d3b09c34491c0d0b1e330eaa48ee11430be74f6..b47258330f1bda0aae0b56396c79ed2168e44ab6 100644 (file)
@@ -1,5 +1,7 @@
 2013-08-23  Glenn Morris  <rgm@gnu.org>
 
+       * 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
index 04ea47fa6efc8c218220d32d1ab8d4e06d51a0e7..f9ff3c936bd13e12439580dda25a02931bbf8f33 100644 (file)
@@ -2275,8 +2275,8 @@ since only a single case-insensitive search through the alist is made."
      ("\\.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)