Fix regexp quoting in +default/search-notes-for-symbol-at-point

This commit is contained in:
Henrik Lissner 2019-11-05 18:44:19 -05:00
parent 9113eab65a
commit e47d357e56
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -295,7 +295,7 @@ If prefix ARG is set, prompt for a known project to search from."
"Conduct a text search in the current project for symbol at point. If prefix
ARG is set, prompt for a known project to search from."
(interactive
(list (thing-at-point 'symbol t)))
(list (rxt-quote-pcre (or (thing-at-point 'symbol t) ""))))
(require 'org)
(let ((default-directory org-directory))
(+default/search-project-for-symbol-at-point