"\\\\(" "("
str)))
-(defun counsel-locate-function (str &rest _u)
+(defun counsel-locate-function (str)
(if (< (length str) 3)
(counsel-more-chars 3)
(counsel--async-command
:type 'stringp
:group 'ivy)
-(defun counsel-ag-function (string &optional _pred &rest _unused)
+(defun counsel-ag-function (string)
"Grep in the current directory for STRING."
(if (< (length string) 3)
(counsel-more-chars 3)
(swiper--cleanup))
:caller 'counsel-grep))
-(defun counsel-grep-function (string &optional _pred &rest _unused)
+(defun counsel-grep-function (string)
"Grep in the current directory for STRING."
(if (< (length string) 3)
(counsel-more-chars 3)
(swiper--cleanup)
(swiper--add-overlays (ivy--regex ivy-text)))))))
-(defun counsel-recoll-function (string &optional _pred &rest _unused)
+(defun counsel-recoll-function (string)
"Grep in the current directory for STRING."
(if (< (length string) 3)
(counsel-more-chars 3)
(setq initial-input nil))))
((eq collection 'internal-complete-buffer)
(setq coll (ivy--buffer-list "" ivy-use-virtual-buffers)))
+ (dynamic-collection
+ (setq coll (funcall collection ivy-text)))
((or (functionp collection)
(byte-code-function-p collection)
(vectorp collection)