]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-mode): Recognize .profile as sh style.
authorRichard M. Stallman <rms@gnu.org>
Sat, 28 Apr 2007 15:37:58 +0000 (15:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 28 Apr 2007 15:37:58 +0000 (15:37 +0000)
lisp/progmodes/sh-script.el

index 2db30ceb4b296a23702ff67099856796dcacff6d..60fc4c43e7bd81d62def70f0dd64d4a0a109cc52 100644 (file)
@@ -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)