2010-10-15 21:11:09 +08:00
|
|
|
(:name python-mode
|
2011-08-15 01:04:26 +08:00
|
|
|
:description "Major mode for editing Python programs"
|
2013-07-06 01:12:10 +08:00
|
|
|
:type bzr
|
|
|
|
:url "lp:python-mode"
|
2013-07-30 08:39:37 +08:00
|
|
|
:load-path ("." "test")
|
2010-12-26 23:37:35 +08:00
|
|
|
:compile nil
|
2012-02-29 08:22:13 +08:00
|
|
|
:prepare (progn
|
|
|
|
(autoload 'python-mode "python-mode"
|
|
|
|
"Python editing mode." t)
|
2013-07-30 08:39:37 +08:00
|
|
|
(autoload 'doctest-mode "doctest-mode"
|
|
|
|
"Doctest unittest editing mode." t)
|
2013-07-06 01:12:10 +08:00
|
|
|
(setq py-install-directory
|
|
|
|
(el-get-package-directory "python-mode"))
|
2012-02-29 08:22:13 +08:00
|
|
|
(add-to-list 'auto-mode-alist
|
|
|
|
'("\\.py$" . python-mode))
|
|
|
|
(add-to-list 'interpreter-mode-alist
|
|
|
|
'("python" . python-mode))))
|