* lisp/progmodes/python.el: Trivial cleanup.
This commit is contained in:
parent
099e72021d
commit
f45f90f331
2 changed files with 5 additions and 9 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-04-16 Leo Liu <sdl.web@gmail.com>
|
||||||
|
|
||||||
|
* progmodes/python.el: Trivial cleanup.
|
||||||
|
|
||||||
2012-04-16 Glenn Morris <rgm@gnu.org>
|
2012-04-16 Glenn Morris <rgm@gnu.org>
|
||||||
|
|
||||||
* emacs-lisp/eieio-opt.el (describe-class, describe-generic):
|
* emacs-lisp/eieio-opt.el (describe-class, describe-generic):
|
||||||
|
|
|
@ -69,11 +69,7 @@
|
||||||
(require 'comint)
|
(require 'comint)
|
||||||
(require 'ansi-color)
|
(require 'ansi-color)
|
||||||
|
|
||||||
(eval-when-compile
|
(eval-when-compile (require 'compile))
|
||||||
(require 'compile)
|
|
||||||
(require 'hippie-exp))
|
|
||||||
|
|
||||||
(autoload 'comint-mode "comint")
|
|
||||||
|
|
||||||
(defgroup python nil
|
(defgroup python nil
|
||||||
"Silly walks in the Python language."
|
"Silly walks in the Python language."
|
||||||
|
@ -1488,8 +1484,6 @@ Don't save anything for STR matching `inferior-python-filter-regexp'."
|
||||||
res)
|
res)
|
||||||
(t (concat res s)))))
|
(t (concat res s)))))
|
||||||
|
|
||||||
(autoload 'comint-check-proc "comint")
|
|
||||||
|
|
||||||
(defvar python-version-checked nil)
|
(defvar python-version-checked nil)
|
||||||
(defun python-check-version (cmd)
|
(defun python-check-version (cmd)
|
||||||
"Check that CMD runs a suitable version of Python."
|
"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.
|
"Caches (directory . file) pair used in the last `python-load-file' command.
|
||||||
Used for determining the default in the next one.")
|
Used for determining the default in the next one.")
|
||||||
|
|
||||||
(autoload 'comint-get-source "comint")
|
|
||||||
|
|
||||||
(defun python-load-file (file-name)
|
(defun python-load-file (file-name)
|
||||||
"Load a Python file FILE-NAME into the inferior Python process.
|
"Load a Python file FILE-NAME into the inferior Python process.
|
||||||
If the file has extension `.py' import or reload it as a module.
|
If the file has extension `.py' import or reload it as a module.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue