summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/wisent/python.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina <fgallina@gnu.org>2015-08-11 23:04:11 -0300
committerFabián Ezequiel Gallina <fgallina@gnu.org>2015-08-11 23:04:11 -0300
commitbf0ed7340098dcb6228566450a99d3cbc0460094 (patch)
tree2b318ca6852fb7de7ce9c616f0fe3d2758fbe7ca /lisp/cedet/semantic/wisent/python.el
parentd6640d6e4c4f1a85edf924bca0f8a90d1aa6341a (diff)
downloademacs-bf0ed7340098dcb6228566450a99d3cbc0460094.tar.gz
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.
Diffstat (limited to 'lisp/cedet/semantic/wisent/python.el')
-rw-r--r--lisp/cedet/semantic/wisent/python.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/cedet/semantic/wisent/python.el b/lisp/cedet/semantic/wisent/python.el
index a8348d2ab81..6abeb4a2440 100644
--- a/lisp/cedet/semantic/wisent/python.el
+++ b/lisp/cedet/semantic/wisent/python.el
@@ -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")