Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #3 from rexim/master

Submit to MELPA
  • Loading branch information...
commit 85ed3832e7eef391f7879d9990d59c7a3493c15e 2 parents 4e0e5f6 + 7b56bf4
Dave Cross authored August 04, 2013

Showing 1 changed file with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. 8  tt-mode.el
8  tt-mode.el
... ...
@@ -1,4 +1,4 @@
1  
-;; tt-mode.el --- Emacs major mode for editing Template Toolkit files
  1
+;;; tt-mode.el --- Emacs major mode for editing Template Toolkit files.
2 2
 ;;
3 3
 ;; Copyright (c) 2002 Dave Cross, all rights reserved.
4 4
 ;;
@@ -76,6 +76,7 @@
76 76
     (modify-syntax-entry ?% "." table)
77 77
     table))
78 78
 
  79
+;;;###autoload
79 80
 (defun tt-mode ()
80 81
   "Major mode for editing Template Toolkit files"
81 82
   (interactive)
@@ -96,6 +97,9 @@
96 97
   (font-lock-mode t)
97 98
   (run-mode-hooks 'tt-mode-hook))
98 99
 
  100
+;;;###autoload
  101
+(add-to-list 'auto-mode-alist '("\\.tt\\'" . tt-mode))
  102
+
99 103
 (provide 'tt-mode)
100 104
 
101  
-;; tt-mode.el ends here
  105
+;;; tt-mode.el ends here

0 notes on commit 85ed383

Please sign in to comment.
Something went wrong with that request. Please try again.