forked from FG42/FG42
some bug fixed in project.el
This commit is contained in:
parent
d8383876c0
commit
28f1ae2531
|
@ -29,7 +29,7 @@
|
|||
;; I do not like users who use non-free licenses
|
||||
;; TODO: gather a complete list of free software licenses
|
||||
;; TODO: build a hash variable from licenses
|
||||
(setq known-licenses '("gpl" "bsd" "cc"))
|
||||
(setq known-licenses '("gpl"))
|
||||
|
||||
;; Each project plugin should use this function for initializing a versy
|
||||
;; basic New Project environment.
|
||||
|
@ -70,7 +70,6 @@
|
|||
)
|
||||
|
||||
|
||||
|
||||
(defun project/render (data)
|
||||
"Render the data with known context variables and return rendered daa"
|
||||
(setq data (replace-regexp-in-string "::project::" project-name data))
|
||||
|
@ -92,11 +91,11 @@
|
|||
(copy-file copying )
|
||||
(log "'COPYING' file copied.")
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
(defun insert-license ()
|
||||
"Return the prepared license string."
|
||||
(if project-license
|
||||
|
|
Loading…
Reference in New Issue