Skip to content

Instantly share code, notes, and snippets.

@tonini
Last active October 13, 2015 14:22
Show Gist options
  • Select an option

  • Save tonini/3ef14bb584d03d2cd421 to your computer and use it in GitHub Desktop.

Select an option

Save tonini/3ef14bb584d03d2cd421 to your computer and use it in GitHub Desktop.
Basic Emacs Config
(require 'package) ;; Simple package system for Emacs
;; Enable installation of packages from MELPA
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
;; Load Emacs Lisp packages, and activate them.
(package-initialize)
(require 'elixir-mode)
(require 'alchemist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment