.emacs-my
changeset 1339 d276e7a0d704
parent 1338 a49cca7037ba
child 1340 daa03efc12b9
equal deleted inserted replaced
1338:a49cca7037ba 1339:d276e7a0d704
  2760     ;; (py-toggle-shells 'cpython)
  2760     ;; (py-toggle-shells 'cpython)
  2761     (setq-default py-which-shell py-python-command))
  2761     (setq-default py-which-shell py-python-command))
  2762   (when (boundp 'py-version)
  2762   (when (boundp 'py-version)
  2763     (define-key python-mode-map [C-backspace] 'backward-kill-word)
  2763     (define-key python-mode-map [C-backspace] 'backward-kill-word)
  2764     (define-key python-mode-map [?\C-c ?p] 'py-execute-paragraph)
  2764     (define-key python-mode-map [?\C-c ?p] 'py-execute-paragraph)
  2765     (define-key python-mode-map [?\C-c ?r] 'py-execute-region)))
  2765     (define-key python-mode-map [?\C-c ?r] 'py-execute-region)
  2766 
  2766     (define-key inferior-python-mode-map "\C-c\C-f" 'python-describe-symbol)))
  2767 (my--eval-after-load python
       
  2768   (define-key inferior-python-mode-map "\C-c\C-f" 'python-describe-symbol))
       
  2769 
  2767 
  2770 ;; Enable "M-/", "C-c g", "C-c d", "C-c f" shortcuts.
  2768 ;; Enable "M-/", "C-c g", "C-c d", "C-c f" shortcuts.
  2771 (setq ropemacs-enable-shortcuts t)
  2769 (setq ropemacs-enable-shortcuts t)
  2772 (ignore-errors
  2770 (ignore-errors
  2773   ;; (require 'pymacs)
  2771   ;; (require 'pymacs)