 ;;;###autoload
 (defun pymacs-eval (text)
   "Compile TEXT as a Python expression, and return its value."
-  (interactive "sPython expression: ")
+  (interactive "sPython expression? ")
   (let ((value (pymacs-serve-until-reply "eval" `(princ ,text))))
-    (when (pymacs-called-interactively-p)
+    (when (interactive-p)
       (message "%S" value))
     value))
 

                               nil nil default)))
     (list module prefix)))
  (message "Pymacs loading %s..." module)
  (let ((lisp-code (pymacs-call "pymacs_load_helper" module prefix noerror)))
    (cond (lisp-code (let ((result (eval lisp-code)))
                       (add-to-list 'pymacs-load-history
                                    (list module prefix noerror)
                                    ;; append so that order is kept
                                    'append)
                       (message "Pymacs loading %s...done" module)
                       (run-hook-with-args 'pymacs-after-load-functions module)
                       result))
          (noerror (message "Pymacs loading %s...failed" module) nil))))

;;;###autoload
(defun pymacs-autoload (function module &optional prefix docstring interactive)

;;; pymacs.el --- Interface between Emacs Lisp and Python

;; Copyright © 2001, 2002, 2003, 2012 Progiciels Bourbeau-Pinard inc.

;; Author: François Pinard <pinard@iro.umontreal.ca>
;; Maintainer: François Pinard <pinard@iro.umontreal.ca>
;; Created: 2001
;; Version: 0.25
;; Keywords: Python interface protocol

