aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-08-23 14:58:41 -0400
committerGlenn Morris2013-08-23 14:58:41 -0400
commit2d85dc347ccdffc32d3dd6fa163ea94a860540de (patch)
tree5bf5fce58904e644d5c7bec1e31c2c761d0569a4
parentc365c3558065fca4c11c3f46605d1045763485ab (diff)
downloademacs-2d85dc347ccdffc32d3dd6fa163ea94a860540de.tar.gz
emacs-2d85dc347ccdffc32d3dd6fa163ea94a860540de.zip
* lisp/files.el (auto-mode-alist): Use sh-mode for .bash_history.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/files.el4
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6d3b09c3449..b47258330f1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12013-08-23 Glenn Morris <rgm@gnu.org> 12013-08-23 Glenn Morris <rgm@gnu.org>
2 2
3 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4
3 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts. 5 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4 6
5 * files.el (create-file-buffer): If the result would begin with 7 * files.el (create-file-buffer): If the result would begin with
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."
2275 ("\\.scm\\.[0-9]*\\'" . scheme-mode) 2275 ("\\.scm\\.[0-9]*\\'" . scheme-mode)
2276 ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) 2276 ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
2277 ("\\.bash\\'" . sh-mode) 2277 ("\\.bash\\'" . sh-mode)
2278 ("\\(/\\|\\`\\)\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) 2278 ("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'" . sh-mode)
2279 ("\\(/\\|\\`\\)\\.\\(bash_logout\\|shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) 2279 ("\\(/\\|\\`\\)\\.\\(shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode)
2280 ("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode) 2280 ("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode)
2281 ("\\.m?spec\\'" . sh-mode) 2281 ("\\.m?spec\\'" . sh-mode)
2282 ("\\.m[mes]\\'" . nroff-mode) 2282 ("\\.m[mes]\\'" . nroff-mode)