Mercurial > emacs
diff lisp/progmodes/python.el @ 80499:0681f498ce1a
(python-mode): Don't mess with hippie-expand.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Fri, 11 Apr 2008 17:50:56 +0000 |
| parents | fffb131e8c0c |
| children | 54fa0c487055 |
line wrap: on
line diff
--- a/lisp/progmodes/python.el Fri Apr 11 10:23:49 2008 +0000 +++ b/lisp/progmodes/python.el Fri Apr 11 17:50:56 2008 +0000 @@ -2291,9 +2291,11 @@ (current-column)))) (^ '(- (1+ (current-indentation)))))) (add-hook 'pre-abbrev-expand-hook 'python-pea-hook nil t) - (if (featurep 'hippie-exp) - (set (make-local-variable 'hippie-expand-try-functions-list) - (cons 'python-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 'python-try-complete hippie-expand-try-functions-list))) ;; Python defines TABs as being 8-char wide. (set (make-local-variable 'tab-width) 8) (when python-guess-indent (python-guess-indent))
