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:
parent
612095220d
commit
8538108132
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue