From 3f88dbe01b76142faa37474f1b2459b618f8d22a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 29 Aug 2022 12:05:18 -0400 Subject: Update Emacs config. --- dotfiles/.emacs.d/init.el | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index b9acce2..695b17e 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -1,4 +1,10 @@ -(require 'better-defaults) +;; Super handy macro for loading packages but not stopping the init +;; process if they aren't found. +(require 'use-package) + +;; This convenient package removes many lines of custom config I used +;; to have here. +(use-package better-defaults) (set-fringe-mode 10) (setq inhibit-startup-message t) ; no splash screen @@ -7,20 +13,10 @@ ;; Maximize frames (add-to-list 'default-frame-alist '(fullscreen . maximized)) -;; Stop customize from writing to my init file. Who thought this was -;; a good idea? +;; Stop customize from writing to my init file. (setq custom-file "~/.emacs.d/custom.el") -(defun home-file (file-name) - "Prefix FILE-NAME with the current home directory." - (concat (getenv "HOME") file-name)) - -;;; -;;; Packages -;;; - -(require 'use-package) ;;; @@ -188,11 +184,6 @@ might be bad." ;; Follow symlinks automatically instead of asking each time. (setq vc-follow-symlinks t) - -;;; -;;; Project Management -;;; - ;;; ;;; Compilation -- cgit v1.2.3