aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
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 5fbd617be10..3e8cefe6a47 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2473,10 +2473,12 @@ with skeleton expansions for compound statement templates.
2473 '((< '(backward-delete-char-untabify (min python-indent 2473 '((< '(backward-delete-char-untabify (min python-indent
2474 (current-column)))) 2474 (current-column))))
2475 (^ '(- (1+ (current-indentation)))))) 2475 (^ '(- (1+ (current-indentation))))))
2476 (if (featurep 'hippie-exp) 2476 ;; Let's not mess with hippie-expand. Symbol-completion should rather be
2477 (set (make-local-variable 'hippie-expand-try-functions-list) 2477 ;; bound to another key, since it has different performance requirements.
2478 (cons 'symbol-completion-try-complete 2478 ;; (if (featurep 'hippie-exp)
2479 hippie-expand-try-functions-list))) 2479 ;; (set (make-local-variable 'hippie-expand-try-functions-list)
2480 ;; (cons 'symbol-completion-try-complete
2481 ;; hippie-expand-try-functions-list)))
2480 ;; Python defines TABs as being 8-char wide. 2482 ;; Python defines TABs as being 8-char wide.
2481 (set (make-local-variable 'tab-width) 8) 2483 (set (make-local-variable 'tab-width) 8)
2482 (unless font-lock-mode (font-lock-mode 1)) 2484 (unless font-lock-mode (font-lock-mode 1))