.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit 896f7d5f815d94a642bdbe49593ab5aa6601c741
parent 880e044701536e4b81f0ab39cf0a1800c9c1791d
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Wed, 14 Mar 2018 13:01:47 -0400

Rename `varia.el` to `extras.el`.

Diffstat:
Minit.el | 21++++++++++++++-------
Rpartials/varia.el -> partials/extras.el | 0
2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/init.el b/init.el @@ -3,13 +3,18 @@ ;; ;; SET PACKAGE & USE-PACKAGE ;; -(require 'package) -(setq package-enable-at-startup nil) -(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) -(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) -(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) -(package-initialize) +;; Add Melpa, Marmalade & GNU sources archives for =package.el= +(when (>= emacs-major-version 24) + (require 'package) + (setq package-enable-at-startup nil) + (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) + (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) + (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) + (package-initialize) + ) + +;; Install =use-package= if it's not there (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) @@ -28,5 +33,7 @@ (load-file "~/.emacs.d/partials/key-bindings.el") (load-file "~/.emacs.d/partials/lua.el") (load-file "~/.emacs.d/partials/shell.el") -(load-file "~/.emacs.d/partials/varia.el") +(load-file "~/.emacs.d/partials/extras.el") (load-file "~/.emacs.d/partials/webdev.el") + +;;; init.el ends here diff --git a/partials/varia.el b/partials/extras.el