Stop using “long names” in personal project utilities

They have only been used in project diaries, and since these are gone now, long
names should go too.
This commit is contained in:
dbo 2022-10-16 20:58:11 +02:00
parent 137bafeb0b
commit 7663b82800
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 3 additions and 3 deletions

View File

@ -56,12 +56,12 @@
nil "^[^.]")))
;;;###autoload
(defun projects-add-project (short-name long-name)
"Add new project with SHORT-NAME and LONG-NAME.
(defun projects-add-project (short-name)
"Add new project with SHORT-NAME.
The project directory will be located under
`projects-main-project-directory' within a directory named
SHORT-NAME."
(interactive "sShort Name: \nsLong Name: ")
(interactive "sShort Name: ")
(when (projects-project-exists-p short-name)
(user-error "Project %s already exists, exiting" short-name))
(when (file-exists-p (expand-file-name short-name