Respect python.el imenu when semantic-mode is off

Fixes debbugs:21220

* lisp/cedet/semantic/wisent/python.el: Do not force
wisent-python-default-setup on python-mode-hook.
This commit is contained in:
Fabián Ezequiel Gallina 2015-08-11 23:04:11 -03:00
parent d6640d6e4c
commit bf0ed73400

View file

@ -534,9 +534,6 @@ Shortens 'code' tags, but passes through for others."
(code . "Code")))
)
;;;###autoload
(add-hook 'python-mode-hook 'wisent-python-default-setup)
;; Make sure the newer python modes pull in the same python
;; mode overrides.
(define-child-mode python-2-mode python-mode "Python 2 mode")