This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; python mode 设置 | |
(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist)) | |
(setq interpreter-mode-alist(cons '("python" . python-mode) | |
interpreter-mode-alist)) | |
(setq py-python-command "/opt/local/bin/python") | |
(setq python-python-command "/opt/local/bin/python") | |
(autoload 'python-mode "python-mode" "python editing mode." t) | |
;; 加载,rope,pymacs,ropmacs | |
(eval-after-load "python-mode" |