el-get/recipes/django-mode.rcp
2011-10-26 11:10:23 +02:00

14 lines
578 B
Plaintext

(:name django-mode
:description "Major mode for Django web framework."
:type git
:url "https://github.com/myfreeweb/django-mode.git"
:depends yasnippet
:post-init
(lambda ()
;; Load yasnippet because yas/load-directory has no autoload
(require 'yasnippet)
(yas/load-directory (expand-file-name "snippets" pdir))
(autoload 'django-mode "django-mode" "Major mode for Django web framework." t)
;; django-html-mode is autoloaded, should just work
(add-to-list 'auto-mode-alist '("\.djhtml$" . django-html-mode))))