summary refs log tree commit diff
path: root/configs/rcs
diff options
context:
space:
mode:
Diffstat (limited to 'configs/rcs')
-rw-r--r--configs/rcs/emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index 57a433b..757a45e 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -14,6 +14,11 @@
 ;; initialize it
 (package-initialize)
 
+;; if use-package is not present, we install it
+(unless (package-installed-p 'use-package)
+  (package-refresh-contents)
+  (package-install 'use-package))
+
 (defun fcuny/init-load-path ()
   "Load custom configurations."
   (let* ((before load-path)