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
This commit is contained in:
Christoph Paulik 2016-03-25 16:09:04 +01:00 committed by Fabien Dubosson
parent 634f1a4fbe
commit d38ce800bd

View file

@ -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