.emacs-my
changeset 1699 abe5cfc9b566
parent 1698 9d07c2f3a944
child 1700 4b7b0f90d97b
equal deleted inserted replaced
1698:9d07c2f3a944 1699:abe5cfc9b566
  3170     (mark-paragraph)
  3170     (mark-paragraph)
  3171     (python-shell-send-region (point) (mark))))
  3171     (python-shell-send-region (point) (mark))))
  3172 
  3172 
  3173 ;; For built-in python.el
  3173 ;; For built-in python.el
  3174 (my--eval-after-load python
  3174 (my--eval-after-load python
  3175   (add-to-list 'python-shell-setup-codes 'my-python/eldoc-setup-code) ; Used inside (python-shell-send-setup-code)
  3175   ;; (add-to-list 'python-shell-setup-codes 'my-python/eldoc-setup-code) ; Used inside (python-shell-send-setup-code)
  3176   (define-key python-mode-map "\C-c\C-d" 'my-python/eldoc-at-point)
  3176   (define-key python-mode-map "\C-c\C-d" 'my-python/eldoc-at-point)
  3177   (define-key python-mode-map "\C-c\C-g" 'my-python/eldoc-at-point2)
  3177   (define-key python-mode-map "\C-c\C-g" 'my-python/eldoc-at-point2)
  3178   (define-key python-mode-map [?\C-c ?\C-h] 'my-python/send-paragraph))
  3178   (define-key python-mode-map [?\C-c ?\C-h] 'my-python/send-paragraph))
  3179 
  3179 
  3180 (defgroup my-python nil
  3180 (defgroup my-python nil