Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

bdargan/dargs-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Pack Template

This is a template for your own user (or other purpose) pack.

init.el

Use the file init.el for your own configuration elisp. If this starts getting unwieldy then you might want to break out the config into separate files which you can store in the config directory.

config

Files placed in the config dir may then be referenced and pulled into your init.el via the fn live-load-config-file. For example, if you have the file config/foo.el then you may load it in with:

(live-load-config-file "foo.el")

lib

If you want to pull in external libraries into your pack, then you should place the libraries within the lib dir. To add a directory within the pack's lib directory to the Emacs load path (so that it's contents are available to require) you can use the fn live-add-pack-lib. For example, if you have the external library bar stored in lib which contains the file baz.el which you wish to require, this may be achieved by:

(live-add-pack-lib "bar")
(require 'baz)

Have fun!

About

emacs live packs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published