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 | |
parent | cfbc254bb7fb094b7cd9401231898bc35c197bca (diff) | |
download | dotfiles-bdab4d1fe9f25501c28b41b4be80db43e10b96c2.tar.lz dotfiles-bdab4d1fe9f25501c28b41b4be80db43e10b96c2.tar.zst dotfiles-bdab4d1fe9f25501c28b41b4be80db43e10b96c2.zip |
emacs: fix open-project in non-default ghq root
-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 098f324..a1a0e0c 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: ") |