Skip to content

Commit

Permalink
Pass the finalized tool regexp syntx to the tool's command function
Browse files Browse the repository at this point in the history
This doesn't change anything in practice, but it's slightly more correct.
  • Loading branch information
jimporter committed Aug 19, 2023
1 parent 0f6b3ea commit df52f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urgrep.el
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ COLOR: non-nil (the default) if the output should use color."
(setq case-fold (isearch-no-upper-case-p query regexp-syntax)))
;; Build the command arguments.
(if cmd-fun
(funcall cmd-fun query :tool tool :regexp regexp-syntax
(funcall cmd-fun query :tool tool :regexp tool-re-syntax
:case-fold case-fold :hidden hidden :files files
:group group :context context :color color)
(let ((arguments (urgrep--get-prop 'arguments tool))
Expand Down

0 comments on commit df52f3c

Please sign in to comment.