aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-08-23 13:09:09 -0400
committerGlenn Morris2013-08-23 13:09:09 -0400
commitcb8d2612434ccdd7524a0da9c4728720c9badab3 (patch)
treef534b1cdf70b5162c7db6095f72f5b50aec048fd
parent61611d54b50a9523f696bd95c233b35556030324 (diff)
downloademacs-cb8d2612434ccdd7524a0da9c4728720c9badab3.tar.gz
emacs-cb8d2612434ccdd7524a0da9c4728720c9badab3.zip
* lisp/files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/files.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9fd3e687405..f633f5f5de7 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 (interpreter-mode-alist): Use tcl-mode for expect scripts.
4
3 * files.el (create-file-buffer): Handle the vital case of a file 5 * files.el (create-file-buffer): Handle the vital case of a file
4 whose basename is all spaces. (Bug#15162) 6 whose basename is all spaces. (Bug#15162)
5 7
diff --git a/lisp/files.el b/lisp/files.el
index 71dc968f160..9adbca10369 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2455,6 +2455,7 @@ and `magic-mode-alist', which determines modes based on file contents.")
2455 ("wishx" . tcl-mode) 2455 ("wishx" . tcl-mode)
2456 ("tcl" . tcl-mode) 2456 ("tcl" . tcl-mode)
2457 ("tclsh" . tcl-mode) 2457 ("tclsh" . tcl-mode)
2458 ("expect" . tcl-mode)
2458 ("scm" . scheme-mode) 2459 ("scm" . scheme-mode)
2459 ("ash" . sh-mode) 2460 ("ash" . sh-mode)
2460 ("bash" . sh-mode) 2461 ("bash" . sh-mode)