summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-05-25 18:48:41 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-05-25 18:48:41 +0000
commitc49d6ca7a0041ef64de79b33ef68de066229e634 (patch)
tree962d09c65a3d91860fd60d9aae2cd444ad795b2d /lisp/speedbar.el
parenta434b175a9e797c920118482dae7d6422a28eae7 (diff)
downloademacs-c49d6ca7a0041ef64de79b33ef68de066229e634.tar.gz
(speedbar-find-selected-file): RE-quote the filename.
Diffstat (limited to 'lisp/speedbar.el')
-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."
(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