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:
parent
634f1a4fbe
commit
d38ce800bd
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue