From 7839390f271211882414f167e8e680b3154ee929 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 16 Apr 2020 11:27:43 +0200 Subject: [PATCH] Quote semanticdb-ebrowse-default-file-name in regexp 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/cedet/semantic/db-ebrowse.el b/lisp/cedet/semantic/db-ebrowse.el index 6262efb5b8f..d63e5bc4869 100644 --- a/lisp/cedet/semantic/db-ebrowse.el +++ b/lisp/cedet/semantic/db-ebrowse.el @@ -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 -- 2.39.2