;;
;; Copyright (C) 2009 Nikolaj Schumacher
;;
-;; This file is part of company 0.2.
+;; This file is part of company 0.2.1.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
(setq company-files-completion-cache (cons dir (nreverse candidates))))
(cdr company-files-completion-cache)))
+;;;###autoload
(defun company-files (command &optional arg &rest ignored)
"a `company-mode' completion back-end existing file names."
+ (interactive (list 'interactive))
(case command
+ ('interactive (company-begin-backend 'company-files))
('prefix (company-files-grab-existing-name))
('candidates (company-files-complete arg))
('location (cons (dired-noselect