From: Stefan Monnier Date: Fri, 25 May 2001 18:48:41 +0000 (+0000) Subject: (speedbar-find-selected-file): RE-quote the filename. X-Git-Tag: emacs-pretest-21.0.104~391 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c49d6ca7a0041ef64de79b33ef68de066229e634;p=emacs.git (speedbar-find-selected-file): RE-quote the filename. --- 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