1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Strip text properties from the default string

* lisp/progmodes/project.el (project--read-regexp):
Strip text properties from the default string (bug#47012).
This commit is contained in:
Dmitry Gutov 2021-03-09 04:06:01 +02:00
parent 612095220d
commit 8538108132

View file

@ -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