Deactivate mark after successful file search

Fixes #2523
This commit is contained in:
Henrik Lissner
2020-02-11 13:36:23 -05:00
parent 9bd3d66617
commit 3b6fd1b360
2 changed files with 2 additions and 0 deletions

View File

@ -253,6 +253,7 @@ The point of this is to avoid Emacs locking up indexing massive file trees."
(unless recursive " --maxdepth 1")
" "
(mapconcat #'shell-quote-argument args " "))))
(setq deactivate-mark t)
(counsel-rg
(or query
(when (doom-region-active-p)