]> code.delx.au - gnu-emacs/commitdiff
Respect python.el imenu when semantic-mode is off
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Wed, 12 Aug 2015 02:04:11 +0000 (23:04 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Wed, 12 Aug 2015 02:04:11 +0000 (23:04 -0300)
Fixes debbugs:21220

* lisp/cedet/semantic/wisent/python.el: Do not force
wisent-python-default-setup on python-mode-hook.

lisp/cedet/semantic/wisent/python.el

index a8348d2ab81ef263fd386f07efda653ea62abbb4..6abeb4a24409fc8f6a7b23ff6b5567573dfcf150 100644 (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")