From c49d6ca7a0041ef64de79b33ef68de066229e634 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 25 May 2001 18:48:41 +0000 Subject: [PATCH] (speedbar-find-selected-file): RE-quote the filename. --- lisp/speedbar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/speedbar.el b/lisp/speedbar.el index a880e571320..e543aa5304d 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -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 -- 2.39.5