]> git.eshelyaron.com Git - emacs.git/commitdiff
(refactor-backend-rename-highlight-regions): Fix thinko
authorEshel Yaron <me@eshelyaron.com>
Sun, 11 Aug 2024 18:05:22 +0000 (20:05 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 11 Aug 2024 18:05:22 +0000 (20:05 +0200)
lisp/progmodes/refactor-elisp.el

index fa5756572dbb0aa01c67fb0991006680d9e77ced..be33e7ece440699a66a067b88f626756ed58a2cd 100644 (file)
                     (pcase-lambda (`(,beg ,len ,bin))
                       (when (<= beg pos (+ beg len)) bin))
                     all)))
-    (mapcar (pcase-lambda (`(,beg ,len ,bin))
-              (when (equal bin dec)
-                (cons beg (+ beg len))))
-            all)))
+    (seq-keep (pcase-lambda (`(,beg ,len ,bin))
+                (when (equal bin dec)
+                  (cons beg (+ beg len))))
+              all)))
 
 (provide 'refactor-elisp)
 ;;; refactor-elisp.el ends here