From: Glenn Morris Date: Fri, 23 Aug 2013 17:09:09 +0000 (-0400) Subject: * lisp/files.el (interpreter-mode-alist): Use tcl-mode for expect scripts. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~140 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb8d2612434ccdd7524a0da9c4728720c9badab3;p=emacs.git * lisp/files.el (interpreter-mode-alist): Use tcl-mode for expect scripts. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9fd3e687405..f633f5f5de7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2013-08-23 Glenn Morris + * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts. + * files.el (create-file-buffer): Handle the vital case of a file whose basename is all spaces. (Bug#15162) 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.") ("wishx" . tcl-mode) ("tcl" . tcl-mode) ("tclsh" . tcl-mode) + ("expect" . tcl-mode) ("scm" . scheme-mode) ("ash" . sh-mode) ("bash" . sh-mode)