about summary refs log tree commit diff
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-02T13·09+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-02T13·09+0100
commit4a6937106559892f601999a6f3cae9beff1fe5f1 (patch)
tree98bc85caf2bad8ea4780a57b29e000b61ca718f5 /emacs/.emacs.d/init.el
parentdffb224023e3a663afc4b7461a94c0777fa8dd97 (diff)
General Elisp linting
TL;DR:
- Remove `require` statements from init.el
- Remove unused, auto-install KBDs for bookmark.el
- Remove unused `require` statements from clipboard
- Remove unused, commented-out code

I would like for an Elisp linting stage to test for unused `require` statements,
but I'm unsure how practical that is to support.
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el28
1 files changed, 1 insertions, 27 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c5b873db17ce..35c388f1d00c 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -1,42 +1,16 @@
-(require 'wpc-package)
-
 ;; load order is intentional
-(require 'constants)
+(require 'wpc-package)
 (require 'wpc-misc)
-
-;; my libraries
-(require 'functions)
-(require 'prelude)
-(require 'macros)
-
-;; Laptop XF-functionality
-(require 'pulse-audio)
-(require 'screen-brightness)
-
-;; miscellaneous
 (require 'ssh)
-(require 'clipboard)
-(require 'battery)
-(require 'bookmark)
 (require 'keyboard)
 (require 'irc)
 (require 'email)
-(require 'scrot)
-(require 'timestring)
-
-;; TODO: Remove path once published to MELPA.
-;; TODO: How can I package this using Nix?
-;; (require 'egg-timer "~/programming/egg-timer.el/egg-timer.el")
-
 (require 'keybindings)
 (require 'window-manager)
 (require 'wpc-ui)
 (require 'wpc-dired)
 (require 'wpc-org)
 (require 'wpc-company)
-;; TODO: Re-enable flycheck for all languages besides Elisp once I learn more
-;; about the issue with the `emacs-lisp' `flycheck-checker'.
-;; (require 'wpc-flycheck)
 (require 'wpc-shell)
 (require 'wpc-lisp)
 (require 'wpc-haskell)