emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 2a22635 035/110: Support .jsx file extension too in the ex


From: Dmitry Gutov
Subject: [elpa] master 2a22635 035/110: Support .jsx file extension too in the example
Date: Thu, 23 Jun 2016 01:12:55 +0000 (UTC)

branch: master
commit 2a226359b830a7b66534754a839a28282fd1fb0c
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Support .jsx file extension too in the example
---
 js2-mode.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js2-mode.el b/js2-mode.el
index 2c59a40..0f17c16 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -63,7 +63,7 @@
 ;; Support for JSX is available via the derived mode `js2-jsx-mode'.  If you
 ;; also want JSX support, use that mode instead:
 
-;;   (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-jsx-mode))
+;;   (add-to-list 'auto-mode-alist '("\\.jsx?\\'" . js2-jsx-mode))
 ;;   (add-to-list 'interpreter-mode-alist '("node" . js2-jsx-mode))
 
 ;; To customize how it works:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]