Commit f7550173 authored by Stefan Monnier's avatar Stefan Monnier

(python-mode): Don't impose ourselves on hippie.

parent f37a389e
2008-10-26 Stefan Monnier <>
* progmodes/python.el (python-mode): Don't impose ourselves on hippie.
* faces.el (face-font-family-alternatives): Add "CMU Typewriter Text"
to the courier family.
* textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is
......@@ -2473,10 +2473,12 @@ with skeleton expansions for compound statement templates.
'((< '(backward-delete-char-untabify (min python-indent
(^ '(- (1+ (current-indentation))))))
(if (featurep 'hippie-exp)
(set (make-local-variable 'hippie-expand-try-functions-list)
(cons 'symbol-completion-try-complete
;; 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))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment