aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2008-10-26 05:10:54 +0000
committerStefan Monnier <[email protected]>2008-10-26 05:10:54 +0000
commitf75501733f3288b8ea4eddc903cc59c7227304bc (patch)
tree20619dbc60f777aa1640856608d09f1b5cdf20f6 /lisp/progmodes/python.el
parentf37a389e680b3edafa401c38be3650aecd06d2dd (diff)
(python-mode): Don't impose ourselves on hippie.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 5fbd617be1..3e8cefe6a4 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2473,10 +2473,12 @@ with skeleton expansions for compound statement templates.
'((< '(backward-delete-char-untabify (min python-indent
(current-column))))
(^ '(- (1+ (current-indentation))))))
- (if (featurep 'hippie-exp)
- (set (make-local-variable 'hippie-expand-try-functions-list)
- (cons 'symbol-completion-try-complete
- hippie-expand-try-functions-list)))
+ ;; Let's not mess with hippie-expand. Symbol-completion should rather be
+ ;; bound to another key, since it has different performance requirements.
+ ;; (if (featurep 'hippie-exp)
+ ;; (set (make-local-variable 'hippie-expand-try-functions-list)
+ ;; (cons 'symbol-completion-try-complete
+ ;; hippie-expand-try-functions-list)))
;; Python defines TABs as being 8-char wide.
(set (make-local-variable 'tab-width) 8)
(unless font-lock-mode (font-lock-mode 1))