diff options
Diffstat (limited to 'lisp/speedbar.el')
-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 |