From: Stefan Monnier Date: Thu, 8 May 2025 14:51:16 +0000 (-0400) Subject: lisp/bs.el (bs--goto-current-buffer): Fix thinko in last commit X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a680cb2a3a1e163fd346790db45ec006cc40b505;p=emacs.git lisp/bs.el (bs--goto-current-buffer): Fix thinko in last commit (cherry picked from commit c522428b33c8a34b7309b6166f35255bc4f2447c) --- 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)