diff -r 3a49cbe13ae3 -r 4bb32327e98b .emacs-my --- a/.emacs-my Sun Jan 27 23:27:12 2013 +0200 +++ b/.emacs-my Sun Jan 27 23:34:57 2013 +0200 @@ -2318,10 +2318,8 @@ (defun my-python-add-to-path (path) (interactive (list (read-directory-name "Enter new path for PYTHONPATH: "))) (when (featurep 'cygwin-mount) - (setq path (my-dos2cygwin-path path)) - ) - (python-send-string (format "import sys; sys.path.append(\"%s\")" path)) - ) + (setq path (my-dos2cygwin-path path))) + (python-send-string (format "import sys; sys.path.append(\"%s\")" (expand-file-name path))) ) (defun my-python-django-fix (path) "XXX not work on Cygwin + naive Emacs."