From a680cb2a3a1e163fd346790db45ec006cc40b505 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 8 May 2025 10:51:16 -0400 Subject: [PATCH] lisp/bs.el (bs--goto-current-buffer): Fix thinko in last commit (cherry picked from commit c522428b33c8a34b7309b6166f35255bc4f2447c) --- lisp/bs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/bs.el b/lisp/bs.el index c4430b05749..c38822079ce 100644 --- a/lisp/bs.el +++ b/lisp/bs.el @@ -572,7 +572,7 @@ SORT-DESCRIPTION is an element of `bs-sort-functions'." "Go to line which represents the current buffer. Actually, it goes to the line which begins with the character in `bs-string-current' or `bs-string-current-marked'." - (let ((regexp (concat "\\`" + (let ((regexp (concat "^" (regexp-opt (list bs-string-current bs-string-current-marked)))) point) -- 2.39.5