]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/bs.el (bs--goto-current-buffer): Fix thinko in last commit
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 May 2025 14:51:16 +0000 (10:51 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:54:59 +0000 (10:54 +0200)
(cherry picked from commit c522428b33c8a34b7309b6166f35255bc4f2447c)

lisp/bs.el

index c4430b057497a20825899e791881429688d7d0b4..c38822079ce85d0bc159cb3fb5340047db941bd9 100644 (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)