[Projects] Simplify generation of .projectile file
This commit is contained in:
parent
b64c830ac5
commit
843714c39b
|
@ -48,9 +48,8 @@
|
||||||
(format-time-string "[%Y-%m-%d %a %H:%M]" (current-time))))
|
(format-time-string "[%Y-%m-%d %a %H:%M]" (current-time))))
|
||||||
(write-file (expand-file-name "projekttagebuch.org" project-directory))
|
(write-file (expand-file-name "projekttagebuch.org" project-directory))
|
||||||
(bookmark-set (format "Projekttagebuch %s" short-name)))
|
(bookmark-set (format "Projekttagebuch %s" short-name)))
|
||||||
(with-temp-buffer
|
(write-region (format "%s" long-name) nil
|
||||||
(insert (format "%s" long-name))
|
(expand-file-name ".projectile" project-directory))))
|
||||||
(write-file (expand-file-name ".projectile" project-directory)))))
|
|
||||||
|
|
||||||
(defun projects-archive-project (short-name)
|
(defun projects-archive-project (short-name)
|
||||||
"Archive existing project."
|
"Archive existing project."
|
||||||
|
|
Loading…
Reference in New Issue