diff options
author | Guangxiong Lin <[email protected]> | 2022-05-11 20:16:46 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-05-11 20:16:46 +0800 |
commit | 3a40c965742736cb4cd91a23ce8b08161c14a523 (patch) | |
tree | d5b0877e72426661b1cadbcf927c2d5cb7034616 | |
parent | afe2692e4d5624662fb158cea1c09ee2170ec5a5 (diff) | |
download | dotfiles-3a40c965742736cb4cd91a23ce8b08161c14a523.tar.gz dotfiles-3a40c965742736cb4cd91a23ce8b08161c14a523.tar.bz2 dotfiles-3a40c965742736cb4cd91a23ce8b08161c14a523.zip |
Setup emacs package location
-rw-r--r-- | .emacs.d/lisp/init-package.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-package.el b/.emacs.d/lisp/init-package.el index b37d0e7..f7980e5 100644 --- a/.emacs.d/lisp/init-package.el +++ b/.emacs.d/lisp/init-package.el @@ -1,7 +1,11 @@ +;;; init-package.el -*- lexical-binding: t -*- + (require 'package) (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("mepla" . "https://melpa.org/packages/") ("melpa-stable" . "https://stable.melpa.org/packages/"))) +(setq package-user-dir + (expand-file-name "elpa" user-emacs-directory)) (defun gx/require-package (package &optional min-version no-refresh) "Install given PACKAGE, optionally requiring MIN-VERSION. If |