]> git.eshelyaron.com Git - emacs.git/commitdiff
Quote semanticdb-ebrowse-default-file-name in regexp
authorMattias Engdegård <mattiase@acm.org>
Thu, 16 Apr 2020 09:27:43 +0000 (11:27 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 16 Apr 2020 10:14:38 +0000 (12:14 +0200)
Noticed by Andreas Schwab.

* lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches):
Quote file name in regexp.

lisp/cedet/semantic/db-ebrowse.el

index 6262efb5b8faa6fec23842ba4911f8fbfdd56f1f..d63e5bc48693986fdece8c90858348c0c1d4cd5e 100644 (file)
@@ -181,7 +181,8 @@ is specified by `semanticdb-default-save-directory'."
   "Load all semanticdb controlled EBROWSE caches."
   (interactive)
   (let ((f (directory-files semanticdb-default-save-directory
-                           t (concat semanticdb-ebrowse-default-file-name
+                           t (concat (regexp-quote
+                                       semanticdb-ebrowse-default-file-name)
                                       "-load\\.el\\'")
                             t)))
     (while f