some bug fixed in project.el

This commit is contained in:
Sameer Rahmani 2010-12-29 20:45:21 +03:30
parent d8383876c0
commit 28f1ae2531
1 changed files with 2 additions and 3 deletions

View File

@ -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