.emacs-my
changeset 1023 3a49cbe13ae3
parent 1022 37071d001c49
child 1024 4bb32327e98b
equal deleted inserted replaced
1022:37071d001c49 1023:3a49cbe13ae3
  2296 (message "python")
  2296 (message "python")
  2297 
  2297 
  2298 (setq python-indent 4)
  2298 (setq python-indent 4)
  2299 
  2299 
  2300 (eval-after-load 'python-mode
  2300 (eval-after-load 'python-mode
  2301   (define-key inferior-python-mode-map "\C-c\C-f" 'python-describe-symbol)
  2301   '(when (and (boundp 'py-version) (equal py-version "5.1.0"))
  2302   (when (and (boundp 'py-version) (equal py-version "5.1.0"))
       
  2303     (setq-default py-which-shell py-python-command)
  2302     (setq-default py-which-shell py-python-command)
  2304     ;; (py-toggle-shells 'cpython)
  2303     ;; (py-toggle-shells 'cpython)
  2305     ))
  2304     ))
       
  2305 
       
  2306 (eval-after-load 'python
       
  2307   '(define-key inferior-python-mode-map "\C-c\C-f" 'python-describe-symbol))
  2306 
  2308 
  2307 ;; Enable "M-/", "C-c g", "C-c d", "C-c f" shortcuts.
  2309 ;; Enable "M-/", "C-c g", "C-c d", "C-c f" shortcuts.
  2308 (setq ropemacs-enable-shortcuts t)
  2310 (setq ropemacs-enable-shortcuts t)
  2309 (ignore-errors
  2311 (ignore-errors
  2310   ;; (require 'pymacs)
  2312   ;; (require 'pymacs)