Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (12 sloc) 0.465 kB
1e60e35 @vjohansen First stab at generic emacs config. Most of the code is many years old
authored
1
5b8eabd @vjohansen vps , anything
authored
2 ;; Uses candidates-in-buffer
1e60e35 @vjohansen First stab at generic emacs config. Most of the code is many years old
authored
3 (defvar anything-source-vps-files
4 '((name . "Project Files")
5b8eabd @vjohansen vps , anything
authored
5 (init . (lambda ()
6 (with-current-buffer (anything-candidate-buffer 'global)
7 (when (and vps-project-name
8 (file-exists-p (vps-filelist-filename)))
9 (insert-file-contents (vps-filelist-filename))))))
10 (requires-pattern . 3)
11 (candidates-in-buffer)
12 (type . file)))
1e60e35 @vjohansen First stab at generic emacs config. Most of the code is many years old
authored
13
5b8eabd @vjohansen vps , anything
authored
14
15 (provide 'anything-vps)
Something went wrong with that request. Please try again.