diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-08-29 12:05:18 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-08-29 12:05:18 -0400 |
commit | 3f88dbe01b76142faa37474f1b2459b618f8d22a (patch) | |
tree | 1cbe21013a0113ab25d00cff808e9cffacefc7ed | |
parent | 0ebf9e86734ebd82fffb8bdaac92367617eb2943 (diff) |
Update Emacs config.
-rw-r--r-- | dotfiles/.emacs.d/init.el | 25 |
1 files 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) ;;; @@ -190,11 +186,6 @@ might be bad." ;;; -;;; Project Management -;;; - - -;;; ;;; Compilation ;;; |