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

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

[elpa] master 2cf52e9 015/110: js2-parse-highlight-prop-get: Take care n


From: Dmitry Gutov
Subject: [elpa] master 2cf52e9 015/110: js2-parse-highlight-prop-get: Take care now to overwrite the js2-function-call face
Date: Thu, 23 Jun 2016 01:12:53 +0000 (UTC)

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

    js2-parse-highlight-prop-get: Take care now to overwrite the 
js2-function-call face
    
    #272
---
 js2-mode.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js2-mode.el b/js2-mode.el
index 01c97f9..ba119fa 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -6758,7 +6758,7 @@ Shown at or above `js2-highlight-level' 3.")
                 (prop
                  (if (string-match js2-ecma-object-props prop-name)
                      'font-lock-constant-face))))))
-        (when (and (not face) prop-name)
+        (when (and (not face) target (not call-p) prop-name)
           (setq face 'js2-object-property))
         (when face
           (let ((pos (+ (js2-node-pos parent)  ; absolute



reply via email to

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