diff options
author | Alan Pearce | 2018-08-20 12:08:37 +0200 |
---|---|---|
committer | Alan Pearce | 2018-08-20 12:08:37 +0200 |
commit | bdab4d1fe9f25501c28b41b4be80db43e10b96c2 (patch) | |
tree | 300f6a74895911254ae07b13ff8eb560a12feef0 /emacs | |
parent | cfbc254bb7fb094b7cd9401231898bc35c197bca (diff) | |
download | nixfiles-bdab4d1fe9f25501c28b41b4be80db43e10b96c2.tar.lz nixfiles-bdab4d1fe9f25501c28b41b4be80db43e10b96c2.tar.zst nixfiles-bdab4d1fe9f25501c28b41b4be80db43e10b96c2.zip |
emacs: fix open-project in non-default ghq root
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/main.el | 4 |
1 files 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: ") |