Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

This package contains startupd.el

Info

Introduction

Modular loading of Emacs configuration.

Small utility library that loads all Lisp files located in the directory indicated by `startupd-path’. Files are filtered by the `startupd-file-name-regexp’ and the loading order is determined by the function defined in `startupd-file-loading-sort-function’. By default the file loading order is done by using `string<’ and byte-compiled versions always take precedence.

Requirements

This package was tested with GNU/Emacs 23 only, it should work with others versions too but I can’t ensure anything. Besides from that nothing else is required.

Installation/Usage

Add this to your .emacs:

(add-to-list 'load-path "/folder/containing/file")
(require 'startupd)
(startupd-load-files)

The default startupd folder is “~/.emacs.d/startup.d/”.

The default regexp used to indentify startup files matches things like “00functions.el”, “50org.el”, etc. That means a two digit number followed by a letter, followed by any number of alphanumeric, “-” and “_” and ending in “.el” or “.elc”. If a byte-compiled version of a file exists it always takes precedence.

Bug Reports

If you find a bug please report it sending an email listed in the top of the file or just use the github tracker.

License

startupd.el is free software under the GPL v3, see LICENSE file for details.

About

Modular loading of Emacs configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published