From bdab4d1fe9f25501c28b41b4be80db43e10b96c2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 Aug 2018 12:08:37 +0200 Subject: emacs: fix open-project in non-default ghq root --- emacs/.emacs.d/main.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 098f3240..a1a0e0ce 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -523,9 +523,9 @@ (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: ") -- cgit 1.4.1