Fix #1575: SPC * error when no symbol at point
This commit is contained in:
parent
4a92d12267
commit
b330728032
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,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.
|
"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."
|
If prefix ARG is set, prompt for a known project to search from."
|
||||||
(interactive
|
(interactive
|
||||||
(list current-prefix-arg (thing-at-point 'symbol t)))
|
(list current-prefix-arg (or (thing-at-point 'symbol t) "")))
|
||||||
(let ((default-directory
|
(let ((default-directory
|
||||||
(if arg
|
(if arg
|
||||||
(if-let* ((projects (projectile-relevant-known-projects)))
|
(if-let* ((projects (projectile-relevant-known-projects)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue