From 9c48ccacbe1554e4f95a4b531b19ad9ead3cf844 Mon Sep 17 00:00:00 2001 From: Collin Doering Date: Mon, 27 Jun 2011 16:49:11 -0400 Subject: [PATCH] Added a clojure template for emacs --- .emacs | 1 + .emacs.d/templates/clojure-template.clj | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .emacs.d/templates/clojure-template.clj diff --git a/.emacs b/.emacs index 67f3fda..cb0efd5 100644 --- a/.emacs +++ b/.emacs @@ -252,6 +252,7 @@ ("\\.sh$" . ["shell-template.sh" auto-update-generic-template]) ("\\.rkt$" . ["racket-template.rkt" auto-update-generic-template]) ("\\.scm$" . ["scheme-template.scm" auto-update-generic-template]) + ("\\.clj$" . ["clojure-template.clj" auto-update-generic-template]) ("\\.hs$" . ["haskell-template.rkt" auto-update-generic-template]) ("\\.py$" . ["python-template.py" auto-update-generic-template]))) (setq auto-insert 'other) diff --git a/.emacs.d/templates/clojure-template.clj b/.emacs.d/templates/clojure-template.clj new file mode 100644 index 0000000..1eb7deb --- /dev/null +++ b/.emacs.d/templates/clojure-template.clj @@ -0,0 +1,19 @@ +;; (C) Copyright Collin Doering @!@YEAR@!@ +;; +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;; File: @!@FILE@!@ +;; Author: Collin J. Doering +;; Date: @!@DATE@!@ +