diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2001-05-25 18:48:41 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2001-05-25 18:48:41 +0000 |
commit | c49d6ca7a0041ef64de79b33ef68de066229e634 (patch) | |
tree | 962d09c65a3d91860fd60d9aae2cd444ad795b2d | |
parent | a434b175a9e797c920118482dae7d6422a28eae7 (diff) | |
download | emacs-c49d6ca7a0041ef64de79b33ef68de066229e634.tar.gz |
(speedbar-find-selected-file): RE-quote the filename.
-rw-r--r-- | lisp/speedbar.el | 2 |
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 |