diff options
author | AChavali <aryadevchavali1@gmail.com> | 2020-02-08 13:21:16 +0000 |
---|---|---|
committer | AChavali <aryadevchavali1@gmail.com> | 2020-02-08 13:21:16 +0000 |
commit | 1cdffadfef6c8efeb92290f70353009f8c0496d6 (patch) | |
tree | 1d68705637aa291c5b36b9e1f008652124df1dd1 /doom.d/modules | |
parent | c66f8cc69a8341d3780ffd273c6db1302b102164 (diff) | |
download | dotfiles-1cdffadfef6c8efeb92290f70353009f8c0496d6.tar.gz dotfiles-1cdffadfef6c8efeb92290f70353009f8c0496d6.tar.bz2 dotfiles-1cdffadfef6c8efeb92290f70353009f8c0496d6.zip |
~copy-file -> copy-directory
When doing an offline template download, it's more the directory than a
file that you're copying and moving.
Diffstat (limited to 'doom.d/modules')
-rw-r--r-- | doom.d/modules/gentemplate.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doom.d/modules/gentemplate.org b/doom.d/modules/gentemplate.org index 6df07db..7cf8adc 100644 --- a/doom.d/modules/gentemplate.org +++ b/doom.d/modules/gentemplate.org @@ -20,7 +20,7 @@ a URL and clone to the destination using magit-clone-regular. * Copy and move template for a template name and destination directory #+BEGIN_SRC elisp (defun oreodave/templates/copy-template (template-name dest) - (copy-file (expand-file-name (concat "~/Projects/Templates/" template-name)) dest)) + (copy-directory (expand-file-name (concat "~/Projects/Templates/" template-name)) dest)) #+END_SRC * Find if online or not Function which checks that the network connections are = 1. If only one network |