Fork me on GitHub
#spacemacs
<
2021-07-05
>
Drew Verlee20:07:34

Are their any good tutorials on how to include functionality from a .el file such as https://github.com/dakra/datomic.el/blob/master/datomic.el my google searches are failing so far.

Drew Verlee20:07:36

probably in my .spacemacs file

Drew Verlee20:07:11

i'm suprised there isn't a convention. so i need to update my path to include a folder and put my lib there. I can't use .emacs because thats under source control. Though i guess a file could be gitignored.

practicalli-johnny20:07:25

If it's self contained code, then add it to the dotspacemacs/user-config section. Or create a private Spacemacs package containing the .el file.

Drew Verlee20:07:14

Adding it to the user-config would mean copying the entire .el file into it?

practicalli-johnny20:07:51

Yes, its a lot of code too, so a private package would be the recommended approach

practicalli-johnny20:07:39

It doesn't look like it's a normal Emacs package, otherwise it could just be added via dotspacemacs/additional-packages in .spacemacs

👍 2
Drew Verlee21:07:48

thanks ill take a read, might be more trouble then its worth.