Skip to content

Commit 9b2405b

Browse files
Merge pull request #350 from dalugm/fix-auto-mode-alist
Fix auto-mode-alist
2 parents 8d08f05 + 135bc59 commit 9b2405b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fsharp-mode.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@
113113
(define-key map [eval-phrase] '("Eval phrase" . fsharp-eval-phrase)))))
114114

115115
;;;###autoload
116-
(add-to-list 'auto-mode-alist '("\\.fs[iylx]?\\'" . fsharp-mode))
117-
(add-to-list 'auto-mode-alist '("\\.fsproj\\'" . nxml-mode))
116+
(progn
117+
(add-to-list 'auto-mode-alist '("\\.fs[iylx]?\\'" . fsharp-mode))
118+
(add-to-list 'auto-mode-alist '("\\.fsproj\\'" . nxml-mode)))
118119

119120
(defvar fsharp-mode-syntax-table nil
120121
"Syntax table in use in fsharp mode buffers.")

0 commit comments

Comments
 (0)