Skip to content

Commit 6ff1db2

Browse files
committed
Merge pull request #71 from jimm/master
Need two backslashes in regex string.
2 parents 69999c1 + 670870c commit 6ff1db2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elixir-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,9 @@ Argument END End of the region."
562562

563563
;;;###autoload
564564
(progn
565-
(add-to-list 'auto-mode-alist '("\\.elixir\'" . elixir-mode))
566-
(add-to-list 'auto-mode-alist '("\\.ex\'" . elixir-mode))
567-
(add-to-list 'auto-mode-alist '("\\.exs\'" . elixir-mode)))
565+
(add-to-list 'auto-mode-alist '("\\.elixir\\'" . elixir-mode))
566+
(add-to-list 'auto-mode-alist '("\\.ex\\'" . elixir-mode))
567+
(add-to-list 'auto-mode-alist '("\\.exs\\'" . elixir-mode)))
568568

569569
(provide 'elixir-mode)
570570
;;; elixir-mode.el ends here

0 commit comments

Comments
 (0)