summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-11-27 11:02:03 +0100
committerMaxime Coste <mawww@kakoune.org>2024-11-27 22:00:48 +1100
commit888b23ffad23ee5d41562a1a9f17d11f40ad524a (patch)
tree2d52e2aeaa801ad1ec376cc64065312337caaa6e /src/buffer_utils.cc
parent968b00e1b7282c0e5b632bb16e0460093409c8b7 (diff)
Fix grep arguments being evaluated in toolsclient context
Commit ef18d3cbf (rc make/grep: evaluate makecmd in calling context, use eval semantics again, 2024-07-31) fixed a regression in make.kak but didn't bother to fix a similar regression in grep.kak: evaluation of both %opt{grepcmd} and %val{selection} were moved to the toolsclient context. Move them back to the calling context. While at it, get rid of the double evaluation of makecmd, for consistency with grepcmd, and in case makecmd contains unbalanced braces.
Diffstat (limited to 'src/buffer_utils.cc')
0 files changed, 0 insertions, 0 deletions