Skip to content

Instantly share code, notes, and snippets.

Avatar

jeff kit jeffkit

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