Created
February 28, 2019 01:58
-
-
Save ryukinix/1ec3c83d60acaa29755901f7409f2c04 to your computer and use it in GitHub Desktop.
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
(require 'package) | |
(setq packages-archives '("melpa" . "https://melpa.org/packages/")) | |
(defvar *my-packages* '(company | |
slime-company | |
doom-themes | |
powerline | |
airline-themes) | |
"My wonderful packages") | |
(defun ensure-package (package) | |
"Install PACKAGE if is not already installed." | |
(unless (package-installed-p package) | |
(package-install package))) | |
(package-initialize) | |
(package-refresh-contents) | |
(mapcar #'ensure-package *my-packages*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment