emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit aa7cccce55ebfcef447aa9b857f5d3e0509fbe30
parent 0d7b635bd685ada80368338d4e3e63b221913c63
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 13 Mar 2020 21:49:38 +0300

fix package archives

Diffstat:
Minit.org | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/init.org b/init.org @@ -117,14 +117,20 @@ give an error on emacs-nox. This is a workaround. ** use-package -We need use-package for maintaining other packages. - +Override any existing dumb package archive configuration +usually found on Ubuntu based distros. #+BEGIN_SRC emacs-lisp (require 'package) +(setq package-archives '(("elpa" . "https://elpa.gnu.org/packages/"))) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) +#+END_SRC + +We need use-package for maintaining other packages. + +#+BEGIN_SRC emacs-lisp (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package))