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
|
;; I do not like users who use non-free licenses
|
||||||
;; TODO: gather a complete list of free software licenses
|
;; TODO: gather a complete list of free software licenses
|
||||||
;; TODO: build a hash variable from 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
|
;; Each project plugin should use this function for initializing a versy
|
||||||
;; basic New Project environment.
|
;; basic New Project environment.
|
||||||
|
@ -70,7 +70,6 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(defun project/render (data)
|
(defun project/render (data)
|
||||||
"Render the data with known context variables and return rendered daa"
|
"Render the data with known context variables and return rendered daa"
|
||||||
(setq data (replace-regexp-in-string "::project::" project-name data))
|
(setq data (replace-regexp-in-string "::project::" project-name data))
|
||||||
|
@ -94,9 +93,9 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
(defun insert-license ()
|
(defun insert-license ()
|
||||||
"Return the prepared license string."
|
"Return the prepared license string."
|
||||||
(if project-license
|
(if project-license
|
||||||
|
|
Loading…
Reference in New Issue