/ken-pack

emacs-live pack for personal customization

Primary LanguageEmacs Lisp

Emacs live extension. Instructions for how to use it below. http://overtone.github.io/emacs-live/

To update emacs live,

  1. go to ~/.emacs.d
  2. git pull

This file should be installed in ~/.live-packs/ken-pack Tell emacs-live about it by installing a file called /.emacs-live.el containing the contents: (live-append-packs '(/.live-packs/ken-pack))


User Pack Template

o 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!