diff options
author | William Carroll <wpcarro@gmail.com> | 2018-09-10T18·51-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2018-09-10T18·53-0400 |
commit | 17ee0e400bef47c371afcae76037f9ea6a44ad13 (patch) | |
tree | 0e5efee6f00e402890e91f3eceb4b29408a498b6 /configs/shared/emacs/.emacs.d/elpa/quelpa-20180907.1832/bootstrap.el | |
parent | 8b2fadf4776b7ddb4a67b4bc8ff6463770e56028 (diff) |
Support Vim, Tmux, Emacs with Stow
After moving off of Meta, Dotfiles has a greater responsibility to manage configs. Vim, Tmux, and Emacs are now within Stow's purview.
Diffstat (limited to 'configs/shared/emacs/.emacs.d/elpa/quelpa-20180907.1832/bootstrap.el')
-rw-r--r-- | configs/shared/emacs/.emacs.d/elpa/quelpa-20180907.1832/bootstrap.el | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/elpa/quelpa-20180907.1832/bootstrap.el b/configs/shared/emacs/.emacs.d/elpa/quelpa-20180907.1832/bootstrap.el new file mode 100644 index 000000000000..1e41c6577d12 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/elpa/quelpa-20180907.1832/bootstrap.el @@ -0,0 +1,32 @@ +;;; bootstrap.el --- Bootstrap quelpa.el + +;; Copyright 2014-2018, Steckerhalter + +;; Author: steckerhalter +;; URL: https://framagit.org/steckerhalter/quelpa +;; Version: 0.0.1 +;; License: https://framagit.org/steckerhalter/quelpa/LICENSE + +;; This file is not part of GNU Emacs. + +;;; Code: + +(require 'package) + +(defvar quelpa-ci-dir nil + "If non-nil, quelpa will not be loaded from the url but from the given dir.") + +;; `package' has to be initialized to install pkgs +(package-initialize) + +(let ((temp-dir (make-temp-file "quelpa" t))) + (unless (require 'quelpa nil t) + (let ((file (or (when quelpa-ci-dir (concat quelpa-ci-dir "/quelpa.el")) + (expand-file-name "quelpa.el" temp-dir)))) + (unless quelpa-ci-dir + (url-copy-file "https://framagit.org/steckerhalter/quelpa/raw/master/quelpa.el" file t)) + (package-install-file file))) + + (delete-directory temp-dir t)) + +;;; bootstrap.el ends here |