Skip to content

Commit

Permalink
Slightly prepared for MELPA.
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Aug 4, 2013
1 parent 4e0e5f6 commit 7b56bf4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tt-mode.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;; tt-mode.el --- Emacs major mode for editing Template Toolkit files
;;; tt-mode.el --- Emacs major mode for editing Template Toolkit files.
;;
;; Copyright (c) 2002 Dave Cross, all rights reserved.
;;
Expand Down Expand Up @@ -76,6 +76,7 @@
(modify-syntax-entry ?% "." table)
table))

;;;###autoload
(defun tt-mode ()
"Major mode for editing Template Toolkit files"
(interactive)
Expand All @@ -96,6 +97,9 @@
(font-lock-mode t)
(run-mode-hooks 'tt-mode-hook))

;;;###autoload
(add-to-list 'auto-mode-alist '("\\.tt\\'" . tt-mode))

(provide 'tt-mode)

;; tt-mode.el ends here
;;; tt-mode.el ends here

0 comments on commit 7b56bf4

Please sign in to comment.