From 39fbba35f07c948d1a8fe11acbc8622b095b24df Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Thu, 16 Aug 2012 16:03:53 +0200 Subject: [PATCH] Cosmetic change in ein-console.el --- lisp/ein-console.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lisp/ein-console.el b/lisp/ein-console.el index c824970..55bd2a8 100644 --- a/lisp/ein-console.el +++ b/lisp/ein-console.el @@ -29,6 +29,13 @@ (require 'ein) (require 'ein-utils) +;; Functions from `Fabian Gallina's python.el`_ +;; NOTE: Do *not* load python.el here, since user may be using the other +;; version of python-mode. +(declare-function python-shell-make-comint "python") +(declare-function python-shell-get-process-name "python") +(declare-function python-shell-switch-to-shell "python") + (defcustom ein:console-security-dir "" "Security directory setting. @@ -112,11 +119,6 @@ Types same as `ein:console-security-dir' are valid." (defun ein:console-args-get (url-or-port) (ein:choose-setting 'ein:console-args url-or-port)) -;; `Fabian Gallina's python.el`_ -(declare-function python-shell-make-comint "python") -(declare-function python-shell-get-process-name "python") -(declare-function python-shell-switch-to-shell "python") - (defun ein:console-open () "Open IPython console. To use this function, `ein:console-security-dir' and