branch: elpa/powershell
commit eb88b745241c25c638538f71b8a81e2eaa086d06
Author: Vasilij Schneidermann <[email protected]>
Commit: Vasilij Schneidermann <[email protected]>

    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

Reply via email to