From b6bb26da8eb43991ca3abc74b843d4132be52029 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 11 Aug 2024 20:05:22 +0200 Subject: [PATCH] (refactor-backend-rename-highlight-regions): Fix thinko --- lisp/progmodes/refactor-elisp.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/progmodes/refactor-elisp.el b/lisp/progmodes/refactor-elisp.el index fa5756572db..be33e7ece44 100644 --- a/lisp/progmodes/refactor-elisp.el +++ b/lisp/progmodes/refactor-elisp.el @@ -67,10 +67,10 @@ (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 -- 2.39.2