leoliu pushed a commit to branch master in repository elpa. commit 671601355a044b15a5004cba6dab670bd0c46818 Author: Leo Liu <sdl....@gmail.com> Date: Wed Mar 12 10:13:53 2014 +0800
Fix ggtags-show-definition to run in current project --- ggtags.el | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ggtags.el b/ggtags.el index 16a4a36..18f10b9 100644 --- a/ggtags.el +++ b/ggtags.el @@ -1372,10 +1372,11 @@ When finished invoke CALLBACK in BUFFER with process exit status." (kill-buffer buffer) (with-current-buffer current (funcall fn defs)))))) - (ggtags-global-output - buffer - (list "global" "--result=grep" "--path-style=absolute" name) - show 100))) + (ggtags-with-current-project + (ggtags-global-output + buffer + (list "global" "--result=grep" "--path-style=absolute" name) + show 100)))) (defvar ggtags-mode-prefix-map (let ((m (make-sparse-keymap)))