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

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

[elpa] master dd8d491 12/47: Also color defsubst.


From: Jackson Ray Hamilton
Subject: [elpa] master dd8d491 12/47: Also color defsubst.
Date: Mon, 18 May 2015 09:51:44 +0000

branch: master
commit dd8d4916a2ebbd6f0b15912434280948eba5c70c
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Also color defsubst.
---
 context-coloring.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/context-coloring.el b/context-coloring.el
index 0f65b57..a84a1b4 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -466,7 +466,9 @@ generated by `js2-mode'."
               (setq child-0-end (scan-sexps child-0-pos 1))
               (setq child-0-string (buffer-substring-no-properties child-0-pos 
child-0-end))
               (cond
-               ((string-match-p "\\`defun\\'\\|\\`defmacro\\'" child-0-string)
+               ((string-match-p
+                 "\\`defun\\'\\|\\`defmacro\\'\\|\\`defsubst\\'"
+                 child-0-string)
                 (setq in-defun-p t))
                ((string-match-p "\\`lambda\\'" child-0-string)
                 (setq in-lambda-p t))



reply via email to

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