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

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

[elpa] externals/js2-mode 6cc0a8a 15/61: Merge paragraphs so the informa


From: Dmitry Gutov
Subject: [elpa] externals/js2-mode 6cc0a8a 15/61: Merge paragraphs so the information reads better
Date: Sun, 20 Dec 2020 12:20:00 -0500 (EST)

branch: externals/js2-mode
commit 6cc0a8a87a9178e44c51203e1fe34c57f246a7de
Author: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>

    Merge paragraphs so the information reads better
---
 js2-mode.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 6e2c30e..56e2ee2 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -51,14 +51,14 @@
 
 ;;   (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
 
-;; Alternatively, to install it as a minor mode just for JavaScript linting,
-;; you must add it to the appropriate major-mode hook.  Normally this would be:
+;; Alternatively, you can install it as a minor mode just for JavaScript 
linting
+;; and/or to use packages that integrate with it.  (Also, in Emacs 27, the new
+;; JSX features added in that release are only accessible within this minor
+;; mode.  Linting of JSX code is also likely to fail.)  To install it as a 
minor
+;; mode:
 
 ;;   (add-hook 'js-mode-hook 'js2-minor-mode)
 
-;; If you use Emacs 27 and desire JSX support added in that release,
-;; use `js-mode' as your major mode with `js2-minor-mode' enabled.
-
 ;; You may also want to hook it in for shell scripts running via node.js:
 
 ;;   (add-to-list 'interpreter-mode-alist '("node" . js2-mode))



reply via email to

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