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

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

[nongnu] elpa/raku-mode ae9843c53e 121/253: Actually save the syntax con


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode ae9843c53e 121/253: Actually save the syntax context with the font lock hint
Date: Sat, 29 Jan 2022 08:28:47 -0500 (EST)

branch: elpa/raku-mode
commit ae9843c53ec4e37fdf561a79d9f3bfef59a9e14f
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>

    Actually save the syntax context with the font lock hint
    
    Not actually used currently, but will be useful later on.
---
 perl6-font-lock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 44231fd244..a748f60ff0 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -412,7 +412,7 @@ OPEN-ANGLES is the opening delimiter (e.g. \"«\" or 
\"<<\")."
 
 (defun perl6-add-font-lock-hint (property &optional group)
   (let ((beg (match-beginning (or group 1)))
-        context)
+        (context (perl6-syntax-context)))
     (put-text-property beg (1+ beg) property
                        (cons context (match-data)))))
 



reply via email to

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