aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-05-25 18:48:41 +0000
committerStefan Monnier2001-05-25 18:48:41 +0000
commitc49d6ca7a0041ef64de79b33ef68de066229e634 (patch)
tree962d09c65a3d91860fd60d9aae2cd444ad795b2d
parenta434b175a9e797c920118482dae7d6422a28eae7 (diff)
downloademacs-c49d6ca7a0041ef64de79b33ef68de066229e634.tar.gz
emacs-c49d6ca7a0041ef64de79b33ef68de066229e634.zip
(speedbar-find-selected-file): RE-quote the filename.
-rw-r--r--lisp/speedbar.el2
1 files changed, 1 insertions, 1 deletions
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."
2874 (goto-char (point-min)) 2874 (goto-char (point-min))
2875 (let ((m nil)) 2875 (let ((m nil))
2876 (while (and (setq m (re-search-forward 2876 (while (and (setq m (re-search-forward
2877 (concat " \\(" (file-name-nondirectory file) 2877 (concat " \\(" (regexp-quote (file-name-nondirectory file))
2878 "\\)\\(" speedbar-indicator-regex "\\)?\n") 2878 "\\)\\(" speedbar-indicator-regex "\\)?\n")
2879 nil t)) 2879 nil t))
2880 (not (string= file 2880 (not (string= file