Skip to content

Commit 670870c

Browse files
author
Jim Menard
committed
Need two backslashes in regex string.
1 parent 69999c1 commit 670870c

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)