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

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

[nongnu] elpa/idle-highlight-mode d0fcf29c7d 46/59: Cleanup: unnecessary


From: ELPA Syncer
Subject: [nongnu] elpa/idle-highlight-mode d0fcf29c7d 46/59: Cleanup: unnecessary pcase-let* use
Date: Thu, 7 Jul 2022 12:00:32 -0400 (EDT)

branch: elpa/idle-highlight-mode
commit d0fcf29c7d57937a07278dbec3f0d98307f2ecfb
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: unnecessary pcase-let* use
---
 idle-highlight-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 5bd0deab2d..95df5b8844 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -229,7 +229,7 @@ Argument POS return faces at this point."
   (when (idle-highlight--check-symbol-at-point (point))
     (let ((target-range (bounds-of-thing-at-point 'symbol)))
       (when (and target-range (idle-highlight--check-faces-at-point (point)))
-        (pcase-let* ((`(,beg . ,end) target-range))
+        (pcase-let ((`(,beg . ,end) target-range))
           (let ((target (buffer-substring-no-properties beg end)))
             (when (idle-highlight--check-word target)
               (idle-highlight--highlight target beg end))))))))



reply via email to

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