cp-ag/rg: Fix ivy-occur error

This commit is contained in:
Eric Danan 2020-05-22 12:31:36 +01:00
parent ea4db0fde0
commit 77392cbbc4

View file

@ -796,7 +796,9 @@ is called with a prefix argument."
(projectile-ignored-directories-rel))
" "))
(counsel-ag-command counsel-ag-base-command)
(counsel-ag-base-command (counsel--format-ag-command ignored "%s")))
(counsel-ag-base-command
(let ((counsel-ag-command counsel-ag-base-command))
(counsel--format-ag-command ignored "%s"))))
(ivy-add-actions
'counsel-ag
counsel-projectile-ag-extra-actions)
@ -863,8 +865,9 @@ is called with a prefix argument."
(projectile-ignored-files-rel)
(projectile-ignored-directories-rel))
" "))
(counsel-ag-command counsel-rg-base-command)
(counsel-rg-base-command (counsel--format-ag-command ignored "%s")))
(counsel-rg-base-command
(let ((counsel-ag-command counsel-rg-base-command))
(counsel--format-ag-command ignored "%s"))))
(ivy-add-actions
'counsel-rg
counsel-projectile-rg-extra-actions)