Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Slightly prepared for MELPA.

  • Loading branch information...
commit 7b56bf4c2e6ddaa6dd05ea0fd05cde0d38c363f7 1 parent 4e0e5f6
@rexim rexim authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 tt-mode.el
View
8 tt-mode.el
@@ -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.
;;
@@ -76,6 +76,7 @@
(modify-syntax-entry ?% "." table)
table))
+;;;###autoload
(defun tt-mode ()
"Major mode for editing Template Toolkit files"
(interactive)
@@ -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.
Something went wrong with that request. Please try again.