diff options
author | Richard M. Stallman <[email protected]> | 2007-04-28 15:37:58 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2007-04-28 15:37:58 +0000 |
commit | 534ea50c22ddd91c26a915be1b7ba87256291a3e (patch) | |
tree | 18d7e0a0dd0eb666d78b826653b17f4d39c26621 /lisp/progmodes/sh-script.el | |
parent | 97dbdc12653d6075d87e5eed5375475103b941b2 (diff) |
(sh-mode): Recognize .profile as sh style.
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r-- | lisp/progmodes/sh-script.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 2db30ceb4b..60fc4c43e7 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1530,6 +1530,8 @@ with your script for an edit-interpret-debug cycle." "ksh") ((string-match "[.]csh\\>" buffer-file-name) "csh") + ((equal (file-name-nondirectory buffer-file-name) ".profile") + "sh") (t sh-shell-file)) nil nil) |