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

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

[elpa] master 7b3d590 17/45: No need to explicitly apply face to string


From: Dmitry Gutov
Subject: [elpa] master 7b3d590 17/45: No need to explicitly apply face to string nodes
Date: Mon, 02 Feb 2015 03:18:39 +0000

branch: master
commit 7b3d59075ee6c0fb33998829e11acef4c6959102
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    No need to explicitly apply face to string nodes
---
 js2-mode.el |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index d15d8f9..c5905ee 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -9394,9 +9394,7 @@ array-literals, array comprehensions and regular 
expressions."
      ((= tt js2-NUMBER)
       (make-js2-number-node))
      ((or (= tt js2-STRING) (= tt js2-NO_SUBS_TEMPLATE))
-      (prog1
-          (make-js2-string-node :type tt)
-        (js2-record-face 'font-lock-string-face)))
+      (make-js2-string-node :type tt))
      ((= tt js2-TEMPLATE_HEAD)
       (js2-parse-template-literal))
      ((or (= tt js2-DIV) (= tt js2-ASSIGN_DIV))



reply via email to

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