Fix 'eval-after-load' usage. Fix mode name.
--- 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