696f2d461a
It's important to make templating variables something unique-looking so that you don't accidentally write template variables where you don't mean to. For example, in extensions.template, "package names go here" was being replaced with "package <name of package>s go here", etc. Also Search case-insensitively for good measure
31 lines
842 B
Text
31 lines
842 B
Text
;;; extensions.el --- %LAYERNAME% Layer extensions File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2014 Sylvain Benner
|
|
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
(setq %LAYERNAME%-pre-extensions
|
|
'(
|
|
;; pre extension names go here
|
|
))
|
|
|
|
(setq %LAYERNAME%-post-extensions
|
|
'(
|
|
;; post extension names go here
|
|
))
|
|
|
|
;; For each extension, define a function %LAYERNAME%/init-<extension-name>
|
|
;;
|
|
;; (defun %LAYERNAME%/init-my-extension ()
|
|
;; "Initialize my extension"
|
|
;; )
|
|
;;
|
|
;; Often the body of an initialize function uses `use-package'
|
|
;; For more info on `use-package', see readme:
|
|
;; https://github.com/jwiegley/use-package
|