branch: elpa/powershell
commit 3597d1c976cfb798c6f23a4a817a2b62b92d28d4
Merge: 72eba46c739 eb88b745241
Author: Joe Schafer <[email protected]>
Commit: Joe Schafer <[email protected]>
Merge pull request #15 from wasamasa/feature-support-more-extensions
Support ps1, psm1 and psd1 file extensions
---
powershell.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/powershell.el b/powershell.el
index fc5bcc90f0d..854c925d125 100644
--- a/powershell.el
+++ b/powershell.el
@@ -80,7 +80,7 @@
(require 'compile)
;;;###autoload
-(add-to-list 'auto-mode-alist (cons (purecopy "\\.ps1\\'") 'powershell-mode))
+(add-to-list 'auto-mode-alist '("\\.ps[dm]?1\\'" . powershell-mode))
;; User Variables