From 853810813283662a71358a11c128c0a1d224197e Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Tue, 9 Mar 2021 04:06:01 +0200 Subject: [PATCH] Strip text properties from the default string * lisp/progmodes/project.el (project--read-regexp): Strip text properties from the default string (bug#47012). --- lisp/progmodes/project.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index d59da2496a7..67e827eea43 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -775,7 +775,7 @@ pattern to search for." xrefs)) (defun project--read-regexp () - (let ((sym (thing-at-point 'symbol))) + (let ((sym (thing-at-point 'symbol t))) (read-regexp "Find regexp" (and sym (regexp-quote sym))))) ;;;###autoload -- 2.39.2