all repos — archive/dotfiles @ bdab4d1fe9f25501c28b41b4be80db43e10b96c2

Superseded by nixfiles

emacs: fix open-project in non-default ghq root
Alan Pearce alan@alanpearce.eu
Mon, 20 Aug 2018 12:08:37 +0200
commit

bdab4d1fe9f25501c28b41b4be80db43e10b96c2

parent

cfbc254bb7fb094b7cd9401231898bc35c197bca

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

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -523,9 +523,9 @@ (defun ap/open-project (&optional arg)               (interactive "P")
               (let ((project-dir (projectile-completing-read
                                   "Open project: "
-                                  (ghq--find-projects))))
+                                  (ghq--find-projects-full-path))))
                 (projectile-switch-project-by-name
-                 (expand-file-name project-dir (ghq--find-root)) arg)))
+                 project-dir arg)))
 
             (defun git-bug (bug)
               (interactive "sbug: ")