blob: f42b16c46c3652ebf2c93f66dfd4da208719b293 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
;; jao-geiser-fuel.el -- geiser skeletons -*- lexical-binding: t; -*-
;; Copyright (C) 2009, 2022 Jose Antonio Ortega Ruiz
;; Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
;; Start date: Fri Sep 11, 2009 00:31
(require 'jao-skel)
(defconst jao-skel-geiser--bsd
";; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
;; have received a copy of the license along with this program. If
;; not, see <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>.
")
(defsubst jao-skel-geiser--end-line ()
(format ";;; %s ends here\n\n" (file-name-nondirectory (buffer-file-name))))
(define-skeleton jao-skel-geiser--common
"Geiser elisp header"
"Brief description: "
";;; " (file-name-nondirectory (buffer-file-name)) " -- " str ""
\n \n
(jao-copyright-line ";; ") \n
jao-skel-geiser--bsd
\n (jao-date-line ";; ") \n)
(define-skeleton jao-skel-geiser-elisp
"Geiser elisp header"
nil
'(jao-skel-geiser--common)
"" \n _ \n \n "" \n "(provide '" (jao-basename) ")" \n
(jao-skel-geiser--end-line))
(jao-provide-skel "geiser/elisp/.+\\.el\\'" 'jao-skel-geiser-elisp)
(define-skeleton jao-skel-geiser-scheme
"Geiser scheme header"
nil
'(jao-skel-geiser--common) _
\n (jao-skel-geiser--end-line))
(jao-provide-skel "geiser/scheme/.+\\.\\(scm\\|ss\\|sls\\)\\'"
'jao-skel-geiser-scheme)
(provide 'jao-geiser-fuel)
;;; jao-geiser-fuel.el ends here
|