Skip to content

Instantly share code, notes, and snippets.

@alinbsp
Created September 24, 2015 14:51
Show Gist options
  • Save alinbsp/0f62a46e3092d429fe25 to your computer and use it in GitHub Desktop.
Save alinbsp/0f62a46e3092d429fe25 to your computer and use it in GitHub Desktop.
(progn
(switch-to-buffer
(url-retrieve-synchronously
"https://raw.github.com/milkypostman/package-filter/master/package-filter.el"))
(package-install-from-buffer (package-buffer-info) 'single))
@alinbsp
Copy link
Author

alinbsp commented Sep 24, 2015

(require 'package) ;; You might already have this line
(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/")))
(package-initialize) ;; You might already have this line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment