.emacs-my
changeset 864 adacfc97125b
parent 863 d48ba6196046
child 865 2a99ede322cd
equal deleted inserted replaced
863:d48ba6196046 864:adacfc97125b
  1964   (when (and (boundp 'py-version) (equal py-version "5.1.0"))
  1964   (when (and (boundp 'py-version) (equal py-version "5.1.0"))
  1965     (setq-default py-which-shell py-python-command)
  1965     (setq-default py-which-shell py-python-command)
  1966     ;; (py-toggle-shells 'cpython)
  1966     ;; (py-toggle-shells 'cpython)
  1967     ))
  1967     ))
  1968 
  1968 
       
  1969 (ignore-errors
       
  1970   (require 'pymacs)
       
  1971   (pymacs-load "ropemacs" "rope-")
       
  1972   )
       
  1973 ;; Automatically save project python buffers before refactorings
       
  1974 (setq ropemacs-confirm-saving 'nil)
       
  1975 
  1969 (defun my-python-add-to-path (path)
  1976 (defun my-python-add-to-path (path)
  1970   (interactive (list (read-directory-name "Enter new path for PYTHONPATH: ")))
  1977   (interactive (list (read-directory-name "Enter new path for PYTHONPATH: ")))
  1971   (when (featurep 'cygwin-mount)
  1978   (when (featurep 'cygwin-mount)
  1972     (setq path (my-dos2cygwin-path path))
  1979     (setq path (my-dos2cygwin-path path))
  1973     )
  1980     )