branch: elpa/raku-mode
commit 564cbfa7a2de53b68734c51c0cadf602e052afdf
Author: Hinrik Örn Sigurðsson <[email protected]>
Commit: Hinrik Örn Sigurðsson <[email protected]>

    Remove unnecessary 'let'
---
 perl6-font-lock.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 2e1fddb80c..124cf6eb33 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -507,11 +507,9 @@ LIMIT can be used to bound the search."
                       (opt (group (symbol type-property))))))
    (lambda ()
      (goto-char (match-beginning 0))
-     (let ((context (perl6-syntax-context)))
-       (and
-        (eq context nil)
-        (not (looking-back (rx (or (char ".^")
-                                   (and line-start (0+ space)))))))))
+     (and (eq (perl6-syntax-context) nil)
+          (not (looking-back (rx (or (char ".^")
+                                     (and line-start (0+ space))))))))
    limit))
 
 (defun perl6-match-property (property context limit)

Reply via email to