Skip to content

Commit

Permalink
Actually save the syntax context with the font lock hint
Browse files Browse the repository at this point in the history
Not actually used currently, but will be useful later on.
  • Loading branch information
hinrik committed Oct 6, 2015
1 parent c5f3d07 commit ae9843c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl6-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

Expand Down

0 comments on commit ae9843c

Please sign in to comment.