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

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

[nongnu] elpa/raku-mode 564cbfa7a2 119/253: Remove unnecessary 'let'


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 564cbfa7a2 119/253: Remove unnecessary 'let'
Date: Sat, 29 Jan 2022 08:28:47 -0500 (EST)

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

    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

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