From d38ce800bd289427c6a31b61564b2aa6216af970 Mon Sep 17 00:00:00 2001 From: Christoph Paulik Date: Fri, 25 Mar 2016 16:09:04 +0100 Subject: [PATCH] Disable semantic-idle-summary in Python mode. Anaconda provides more useful information but can not do it properly when this mode is enabled since the minibuffer is cleared all the time. Fix #5564 --- layers/+lang/python/packages.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layers/+lang/python/packages.el b/layers/+lang/python/packages.el index b8f0783bc..17ae1accf 100644 --- a/layers/+lang/python/packages.el +++ b/layers/+lang/python/packages.el @@ -395,6 +395,11 @@ (defun python/post-init-semantic () (add-hook 'python-mode-hook 'semantic-mode) + + (when (configuration-layer/package-usedp 'anaconda-mode) + (add-hook 'python-mode-hook (lambda () (semantic-idle-summary-mode 0)) t)) + + (defadvice semantic-python-get-system-include-path (around semantic-python-skip-error-advice activate) "Don't cause error when Semantic cannot retrieve include