Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
sample emacs.el
(require 'package)
(setq load-prefer-newer t
package-enable-at-startup nil)
(setq package-archives '(("melpa" . "http://melpa.org/packages/")
("org" . "http://orgmode.org/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize)
;; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
;; To load newer version of org
(package-initialize)
;; Just follow git-controlled links without asking
(setq-default vc-follow-symlinks t)
;; Use latest Org
(use-package org
:pin org
:ensure org-plus-contrib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment