branch: elpa/raku-mode commit ae9843c53ec4e37fdf561a79d9f3bfef59a9e14f Author: Hinrik Örn Sigurðsson <hinrik....@gmail.com> Commit: Hinrik Örn Sigurðsson <hinrik....@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)))))