Skip to content

Instantly share code, notes, and snippets.

;;; package --- Summary
;;; Commentary:
(require 'package) ;; you might already have this line
;;; Code:
(add-to-list 'package-archives
'("MELPHA Stable" . "https://stable.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