Last active
August 29, 2015 13:59
-
-
Save theironsamurai/10752614 to your computer and use it in GitHub Desktop.
Loader for Prelude Nemesis (a plugin for Emacs Prelude)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; nemesis-loader.el --- Adding Paths to load plugins for Prelude | |
;; | |
;; Copyright (c) 2014, Nick Horton | |
;; Website: SapienGames.com | |
;; | |
;; This is not a part of GNU Emacs (nor Prelude!) | |
;; | |
;;; Commentary: | |
;; | |
;; This loads anything inside of the /nemesis folder | |
;; which is inside your /personal folder | |
;; when you use Prelude and add my Nemesis "plugin". | |
;;; Code: | |
;; Tell Prelude where to look | |
(defvar prelude-personal-nemesis-dir | |
(concat prelude-personal-dir "/nemesis/")) | |
(let ((default-directory prelude-personal-nemesis-dir)) | |
(normal-top-level-add-to-load-path '(".")) | |
(normal-top-level-add-subdirs-to-load-path)) | |
;; Example: Load Prelude-Nemesis | |
(add-to-list 'load-path "nemesis") | |
(load "nemesis.el") | |
;; END | |
(provide 'nemesis-loader) | |
;;; nemesis-loader.el ends here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment