all repos — nixfiles @ e63cfd0ddf6ada99bec0aca50c9d5be84a69f23b

System and user configuration, managed by nix and home-manager

Emacs: Remove unused functions
Alan Pearce alan.pearce@spotcap.com
Mon, 09 May 2016 14:28:49 +0200
commit

e63cfd0ddf6ada99bec0aca50c9d5be84a69f23b

parent

2641165a32b4fb77257e9e8e37c1bd44e1ad919f

1 files changed, 1 insertions(+), 8 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -336,14 +336,7 @@ (--reduce-from (or acc (funcall it subdir)) nil                                                  projectile-project-root-files-functions))
                                 (-filter #'file-directory-p (directory-files dir t "\\<")))))
 
-              (defun ap/-add-known-subfolder-projects (dir)
-                (-map #'projectile-add-known-project (--map (concat (file-name-as-directory dir) it) (ap/subfolder-projects dir))))
-
-              (defun ap/add-known-subfolder-projects ()
-                (interactive)
-                (ap/-add-known-subfolder-projects (read-directory-name "Add projects under: ")))
-
-              (defun ap/open-subfolder-project (from-dir &optional arg)
+               (defun ap/open-subfolder-project (from-dir &optional arg)
                 (let ((project-dir (projectile-completing-read "Open project: "
                                                                (ap/subfolder-projects from-dir))))
                   (projectile-switch-project-by-name (expand-file-name project-dir from-dir) arg)))