lisp/bs.el (bs--goto-current-buffer): Fix thinko in last commit

This commit is contained in:
Stefan Monnier 2025-05-08 10:51:16 -04:00
parent 0469f41ac2
commit c522428b33

View file

@ -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)