* lisp/progmodes/python.el: Trivial cleanup.

This commit is contained in:
Leo Liu 2012-04-17 03:28:57 +08:00
parent 099e72021d
commit f45f90f331
2 changed files with 5 additions and 9 deletions

View file

@ -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.