summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2012-04-17 03:28:57 +0800
committerLeo Liu <sdl.web@gmail.com>2012-04-17 03:28:57 +0800
commitf45f90f33151dc74ef541cba4fe87565215382a0 (patch)
tree69aae8572c97d19dad475053497673e581c00ae7 /lisp/progmodes/python.el
parent099e72021d771b307875f1c4fc6dd1aedd786089 (diff)
downloademacs-f45f90f33151dc74ef541cba4fe87565215382a0.tar.gz
emacs-f45f90f33151dc74ef541cba4fe87565215382a0.tar.bz2
emacs-f45f90f33151dc74ef541cba4fe87565215382a0.zip
* lisp/progmodes/python.el: Trivial cleanup.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el10
1 files changed, 1 insertions, 9 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 09b89993626..6f8758ebec1 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -69,11 +69,7 @@
(require 'comint)
(require 'ansi-color)
-(eval-when-compile
- (require 'compile)
- (require 'hippie-exp))
-
-(autoload 'comint-mode "comint")
+(eval-when-compile (require 'compile))
(defgroup python nil
"Silly walks in the Python language."
@@ -1488,8 +1484,6 @@ Don't save anything for STR matching `inferior-python-filter-regexp'."
res)
(t (concat res s)))))
-(autoload 'comint-check-proc "comint")
-
(defvar python-version-checked nil)
(defun python-check-version (cmd)
"Check that CMD runs a suitable version of Python."
@@ -1684,8 +1678,6 @@ value to determine defaults."
"Caches (directory . file) pair used in the last `python-load-file' command.
Used for determining the default in the next one.")
-(autoload 'comint-get-source "comint")
-
(defun python-load-file (file-name)
"Load a Python file FILE-NAME into the inferior Python process.
If the file has extension `.py' import or reload it as a module.