.emacs-my
changeset 1023 3a49cbe13ae3
parent 1022 37071d001c49
child 1024 4bb32327e98b
--- a/.emacs-my	Sun Jan 27 23:21:43 2013 +0200
+++ b/.emacs-my	Sun Jan 27 23:27:12 2013 +0200
@@ -2298,12 +2298,14 @@
 (setq python-indent 4)
 
 (eval-after-load 'python-mode
-  (define-key inferior-python-mode-map "\C-c\C-f" 'python-describe-symbol)
-  (when (and (boundp 'py-version) (equal py-version "5.1.0"))
+  '(when (and (boundp 'py-version) (equal py-version "5.1.0"))
     (setq-default py-which-shell py-python-command)
     ;; (py-toggle-shells 'cpython)
     ))
 
+(eval-after-load 'python
+  '(define-key inferior-python-mode-map "\C-c\C-f" 'python-describe-symbol))
+
 ;; Enable "M-/", "C-c g", "C-c d", "C-c f" shortcuts.
 (setq ropemacs-enable-shortcuts t)
 (ignore-errors