aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-10-26 05:10:54 +0000
committerStefan Monnier2008-10-26 05:10:54 +0000
commitf75501733f3288b8ea4eddc903cc59c7227304bc (patch)
tree20619dbc60f777aa1640856608d09f1b5cdf20f6
parentf37a389e680b3edafa401c38be3650aecd06d2dd (diff)
downloademacs-f75501733f3288b8ea4eddc903cc59c7227304bc.tar.gz
emacs-f75501733f3288b8ea4eddc903cc59c7227304bc.zip
(python-mode): Don't impose ourselves on hippie.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/progmodes/python.el10
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8abb20b481b..5c74b7763d0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12008-10-26 Stefan Monnier <monnier@iro.umontreal.ca> 12008-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * progmodes/python.el (python-mode): Don't impose ourselves on hippie.
4
3 * faces.el (face-font-family-alternatives): Add "CMU Typewriter Text" 5 * faces.el (face-font-family-alternatives): Add "CMU Typewriter Text"
4 to the courier family. 6 to the courier family.
5 * textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is 7 * textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is
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))