equal
deleted
inserted
replaced
1945 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1945 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1946 (message "python") |
1946 (message "python") |
1947 |
1947 |
1948 (setq python-indent 4) |
1948 (setq python-indent 4) |
1949 |
1949 |
|
1950 (eval-after-load 'python-mode |
|
1951 (when (equal py-version "5.1.0") |
|
1952 (setq-default py-which-shell py-python-command) |
|
1953 ;; (py-toggle-shells 'cpython) |
|
1954 )) |
|
1955 |
1950 (defun my-python-add-to-path (path) |
1956 (defun my-python-add-to-path (path) |
1951 (interactive (list (read-directory-name "Enter new path for PYTHONPATH: "))) |
1957 (interactive (list (read-directory-name "Enter new path for PYTHONPATH: "))) |
1952 (when (featurep 'cygwin-mount) |
1958 (when (featurep 'cygwin-mount) |
1953 (setq path (my-dos2cygwin-path path)) |
1959 (setq path (my-dos2cygwin-path path)) |
1954 ) |
1960 ) |