~vonfry/zoxide.el

ecdcb62847b5e54ccd477d740e4974f28c8f5809 — Vonfry 8 months ago 1ec22ca
doc: fix style
1 files changed, 4 insertions(+), 4 deletions(-)

M zoxide.el
M zoxide.el => zoxide.el +4 -4
@@ 49,7 49,7 @@
(defcustom zoxide-find-file-function #'find-file
  "The callback function for the target path in `zoxide-find-file'.
If the function is interactive, it will be called by `call-interactively' in
`default-directory' with target path. Otherwise, the target path is passed as
`default-directory' with target path.  Otherwise, the target path is passed as
argument.

For example, you set this to `counsel-fzf' to open file with fzf through counsel


@@ 133,13 133,13 @@ a list of paths is returned."

;;;###autoload
(defun zoxide-open-with (query callback &optional noninteractive)
  "Search query and run callback function with a selected path.
  "Search QUERY and run CALLBACK function with a selected path.

If noninteractive is non-nil, the callback is always called
If NONINTERACTIVE is non-nil, the callback is always called
directly with the selected path as its first argument.

This is a help function to define interactive commands like
`zoxide-find-file'. If you want to do things noninteractive, please use
`zoxide-find-file'.  If you want to do things noninteractive, please use
`zoxide-query', filter results and pass it to your function manually instead."
  (let* ((results (if query
                      (zoxide-query-with query)