diff lisp/speedbar.el @ 37891:2fec97b8ea55

(speedbar-find-selected-file): RE-quote the filename.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 25 May 2001 18:48:41 +0000
parents fc838f090bbe
children 308a2e8895e3
line wrap: on
line diff
--- a/lisp/speedbar.el	Fri May 25 18:43:50 2001 +0000
+++ b/lisp/speedbar.el	Fri May 25 18:48:41 2001 +0000
@@ -2874,7 +2874,7 @@
   (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