Function: file-cache-add-directory-using-locate

file-cache-add-directory-using-locate is an autoloaded, interactive and byte-compiled function defined in filecache.el.gz.

Signature

(file-cache-add-directory-using-locate STRING)

Documentation

Use the locate command to add files to the file cache.

STRING is passed as an argument to the locate command.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/filecache.el.gz
;;;###autoload
(defun file-cache-add-directory-using-locate (string)
  "Use the `locate' command to add files to the file cache.
STRING is passed as an argument to the locate command."
  (interactive "sAdd files using locate string: ")
  (with-temp-buffer
    (call-process file-cache-locate-command nil t nil string)
    (file-cache--add-from-buffer)))