summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-08-23 14:58:41 -0400
committerGlenn Morris <rgm@gnu.org>2013-08-23 14:58:41 -0400
commit2d85dc347ccdffc32d3dd6fa163ea94a860540de (patch)
tree5bf5fce58904e644d5c7bec1e31c2c761d0569a4 /lisp/files.el
parentc365c3558065fca4c11c3f46605d1045763485ab (diff)
downloademacs-2d85dc347ccdffc32d3dd6fa163ea94a860540de.tar.gz
* lisp/files.el (auto-mode-alist): Use sh-mode for .bash_history.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 04ea47fa6ef..f9ff3c936bd 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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)