diff options
| author | Richard M. Stallman | 2007-04-28 15:37:58 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-04-28 15:37:58 +0000 |
| commit | 534ea50c22ddd91c26a915be1b7ba87256291a3e (patch) | |
| tree | 18d7e0a0dd0eb666d78b826653b17f4d39c26621 | |
| parent | 97dbdc12653d6075d87e5eed5375475103b941b2 (diff) | |
| download | emacs-534ea50c22ddd91c26a915be1b7ba87256291a3e.tar.gz emacs-534ea50c22ddd91c26a915be1b7ba87256291a3e.zip | |
(sh-mode): Recognize .profile as sh style.
| -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 2db30ceb4b2..60fc4c43e7b 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." | |||
| 1530 | "ksh") | 1530 | "ksh") |
| 1531 | ((string-match "[.]csh\\>" buffer-file-name) | 1531 | ((string-match "[.]csh\\>" buffer-file-name) |
| 1532 | "csh") | 1532 | "csh") |
| 1533 | ((equal (file-name-nondirectory buffer-file-name) ".profile") | ||
| 1534 | "sh") | ||
| 1533 | (t | 1535 | (t |
| 1534 | sh-shell-file)) | 1536 | sh-shell-file)) |
| 1535 | nil nil) | 1537 | nil nil) |