Function: projectile--ack-construct-command
projectile--ack-construct-command is a byte-compiled function defined
in projectile.el.
Signature
(projectile--ack-construct-command SEARCH-TERM &optional FILE-EXT)
Documentation
Construct Ack option to search files by the extension FILE-EXT.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--ack-construct-command (search-term &optional file-ext)
"Construct Ack option to search files by the extension FILE-EXT."
(if (stringp file-ext)
(concat "ack -g '"
(replace-regexp-in-string
"\\*" ""
(replace-regexp-in-string "\\." "\\\\." file-ext))
"$' | "
(alist-get 'ack projectile-files-with-string-commands)
"-x "
search-term)
(concat (alist-get 'ack projectile-files-with-string-commands)
search-term)))