Skip to content

Commit

Permalink
dynamic naming more trouble than it's worth atm
Browse files Browse the repository at this point in the history
While considering how this will work for generic template repositories, it
became clear that looking at ERK itself to figure out what to replace is not
adding value, but it is adding overhead

Signed-off-by: Psionik K <[email protected]>
  • Loading branch information
psionic-k committed Oct 20, 2023
1 parent 7cb04b5 commit 2336df3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lisp/erk.el
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@

(defgroup erk nil "Elisp repository kit." :prefix 'erk :group 'programming)

(defcustom erk-replace-author
(let ((first-author (car (lm-authors (buffer-file-name)))))
(format "%s <%s>" (car first-author) (cdr first-author)))
(defcustom erk-replace-author "Positron Solutions <[email protected]>"
"Default author for renaming."
:group 'erk
:type 'string)
Expand All @@ -76,9 +74,7 @@ to clone from within the fork."
:group 'erk
:type 'string)

(defcustom erk-replace-package-prefix
(lm-with-file (buffer-file-name)
(car (split-string (lm-get-package-name) "\\.")))
(defcustom erk-replace-package-prefix "erk"
"The prefix is used to features and file names."
:group 'erk
:type 'string)
Expand Down

0 comments on commit 2336df3

Please sign in to comment.