changeset 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 08ff6c17452d
children d374fa1c1649
files lisp/speedbar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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