 ;;; Require
 (require 'anything)
 (require 'thingatpt)
+(require 'ffap)
 
 ;;; Code:
 

;;; Anything replacement of file name completion for `find-file' and friends.

(defvar anything-c-source-find-files
  '((name . "Find Files")
    (init . (lambda ()
              (require 'ffap)
              (setq ffap-newfile-prompt t)))
    (candidates . anything-find-files-get-candidates)
    (candidate-transformer anything-c-highlight-ffiles)



(defvar anything-c-source-rename-files
  '((name . "Rename Files (`C-z':expand directory, `C-.':Go to precedent level)")
    (candidates . anything-find-files-get-candidates)
    (candidate-transformer anything-c-highlight-ffiles)
    (persistent-action . anything-find-files-persistent-action)
