1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

(speedbar-find-selected-file): RE-quote the filename.

This commit is contained in:
Stefan Monnier 2001-05-25 18:48:41 +00:00
parent a434b175a9
commit c49d6ca7a0

View File

@ -2874,7 +2874,7 @@ If new functions are added, their state needs to be updated here."
(goto-char (point-min))
(let ((m nil))
(while (and (setq m (re-search-forward
(concat " \\(" (file-name-nondirectory file)
(concat " \\(" (regexp-quote (file-name-nondirectory file))
"\\)\\(" speedbar-indicator-regex "\\)?\n")
nil t))
(not (string= file