diff options
| author | Richard M. Stallman | 2007-04-28 17:46:09 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-04-28 17:46:09 +0000 |
| commit | 68c2f86d7c2561ab565bbb5ca2a4707171106b8b (patch) | |
| tree | 7e9ae0f23b5277e3c173ee92e342e7aca4d778ac | |
| parent | 4d7528d05918fa0b3b40147f7e7b91835482dd47 (diff) | |
| download | emacs-68c2f86d7c2561ab565bbb5ca2a4707171106b8b.tar.gz emacs-68c2f86d7c2561ab565bbb5ca2a4707171106b8b.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) |