aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-package.el4
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