all repos — nixfiles @ bdab4d1fe9f25501c28b41b4be80db43e10b96c2

System and user configuration, managed by nix and home-manager

emacs: fix open-project in non-default ghq root

Alan Pearce
commit

bdab4d1fe9f25501c28b41b4be80db43e10b96c2

parent

cfbc254bb7fb094b7cd9401231898bc35c197bca

1 file 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: ")