Changeset 107
- Timestamp:
- 11/09/07 16:55:31 (14 months ago)
- Files:
-
- 1 modified
-
hacks/trunk/django-mode.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hacks/trunk/django-mode.el
r36 r107 2 2 ; by Antonio Cavedoni <http://cavedoni.com/> 3 3 ; 4 ; Hacked together following instructions from the ratherawesome:4 ; Hacked together following instructions from the awesome: 5 5 ; http://two-wugs.net/emacs/mode-tutorial.html 6 ; 7 ; Acknowledgements: 8 ; 9 ; - Patrick Quinn <http://www.patrickquinn.net/> 10 ; for the font-locking patch for HTML syntax 11 ; 6 12 7 13 (defvar django-mode-hook nil) … … 23 29 "Minimal highlighting expressions for Django mode")) 24 30 25 (defvar django-font-lock-keywords django-font-lock-keywords-1 31 (defvar django-font-lock-keywords 32 (append html-font-lock-keywords django-font-lock-keywords-1) 26 33 "Default highlighting expressions for Django mode") 27 34 … … 37 44 (set-syntax-table django-mode-syntax-table) 38 45 (use-local-map django-mode-map) 46 (html-mode) 39 47 (set (make-local-variable 'font-lock-defaults) '(django-font-lock-keywords)) 40 48 (setq major-mode 'django-mode)