Added a clojure template for emacs
This commit is contained in:
parent
45a536ed64
commit
9c48ccacbe
1
.emacs
1
.emacs
|
@ -252,6 +252,7 @@
|
||||||
("\\.sh$" . ["shell-template.sh" auto-update-generic-template])
|
("\\.sh$" . ["shell-template.sh" auto-update-generic-template])
|
||||||
("\\.rkt$" . ["racket-template.rkt" auto-update-generic-template])
|
("\\.rkt$" . ["racket-template.rkt" auto-update-generic-template])
|
||||||
("\\.scm$" . ["scheme-template.scm" 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])
|
("\\.hs$" . ["haskell-template.rkt" auto-update-generic-template])
|
||||||
("\\.py$" . ["python-template.py" auto-update-generic-template])))
|
("\\.py$" . ["python-template.py" auto-update-generic-template])))
|
||||||
(setq auto-insert 'other)
|
(setq auto-insert 'other)
|
||||||
|
|
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
;; File: @!@FILE@!@
|
||||||
|
;; Author: Collin J. Doering <rekahsoft@gmail.com>
|
||||||
|
;; Date: @!@DATE@!@
|
||||||
|
|
Reference in New Issue