From c73a2d1bbee05c6e4d08a633086966c0f49fe8b7 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 28 Aug 2018 18:46:31 +0900 Subject: [PATCH] Add --- emacs.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index dfab4c7..9bc3461 100644 --- a/emacs.el +++ b/emacs.el @@ -746,7 +746,10 @@ found, otherwise returns nil." (add-hook 'c-mode-common-hook (lambda () (when (derived-mode-p 'c-mode 'c++-mode 'java-mode) - (ggtags-mode 1))))) + (ggtags-mode 1)))) + (add-hook 'python-mode-hook + (lambda () + (ggtags-mode 1)))) (when (autoload-eval-lazily 'imenu-list) (set-variable 'imenu-list-auto-resize t)