Mercurial > emacs
diff lisp/progmodes/sh-script.el @ 77593:dac1de8103f2
(sh-mode): Recognize .profile as sh style.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Apr 2007 15:37:58 +0000 |
parents | e3694f1cb928 |
children | f942a5cc0de4 8021008d25bf 70bf32a0f523 |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Sat Apr 28 14:28:22 2007 +0000 +++ b/lisp/progmodes/sh-script.el Sat Apr 28 15:37:58 2007 +0000 @@ -1530,6 +1530,8 @@ "ksh") ((string-match "[.]csh\\>" buffer-file-name) "csh") + ((equal (file-name-nondirectory buffer-file-name) ".profile") + "sh") (t sh-shell-file)) nil nil)