emacs: fix open-project in non-default ghq root
Alan Pearce alan@alanpearce.eu
Mon, 20 Aug 2018 12:08:37 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.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: ")