1. xemacs
  2. speedbar

Commits

youngs  committed f74a09e

2001-06-01 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>

* speedbar.el (speedbar-find-selected-file): Use regexp-quote.

  • Participants
  • Parent commits 4d3541c
  • Branches default

Comments (0)

Files changed (2)

File ChangeLog

View file
  • Ignore whitespace
+2001-06-01  Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+
+	* speedbar.el (speedbar-find-selected-file): Use regexp-quote.
+
 2001-02-27  Steve Youngs  <youngs@xemacs.org>
 
 	* sb-w3.el: require 'imenu.

File speedbar.el

View file
  • Ignore whitespace
   (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