Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jeffkit
jeffkit / gist:2843188
Created May 31, 2012 12:50
load ropemacs after python-mode load
;; 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"