From bf0ed7340098dcb6228566450a99d3cbc0460094 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Tue, 11 Aug 2015 23:04:11 -0300 Subject: [PATCH] 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. --- lisp/cedet/semantic/wisent/python.el | 3 --- 1 file changed, 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") -- 2.39.2