From 064c95032625e1daa3161e8fbdcb8361a8d2b017 Mon Sep 17 00:00:00 2001 From: mir Date: Tue, 23 Jan 2024 21:03:58 -0900 Subject: [PATCH] no need for a function for requiring one thing --- lisp/mir-defuns.el | 5 ----- lisp/mir-packages.el | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lisp/mir-defuns.el b/lisp/mir-defuns.el index 40a7212..88bc5b0 100644 --- a/lisp/mir-defuns.el +++ b/lisp/mir-defuns.el @@ -89,11 +89,6 @@ console." (setq current-input-method 'japanese-ascii) (setq current-input-method 'japanese))) -(defun mir/general-config () - "A batch of commands to run immediately after loading the `general' package. -Made solely to reduce lines in the init file." - (require 'mir-keybinds)) - (defun turn-off-line-numbers () "A tiny wrapper around `display-line-numbers-mode' or `linum'. For use in hooks." diff --git a/lisp/mir-packages.el b/lisp/mir-packages.el index 42c728f..5bf18d8 100644 --- a/lisp/mir-packages.el +++ b/lisp/mir-packages.el @@ -6,7 +6,6 @@ ;; ----------------------------------------------------------------------------- ;;; Code: -(elpaca-wait) ;; (use-package no-littering) ;a bad start, and we need more (use-package compat) @@ -19,7 +18,7 @@ (use-package general :demand t :custom (default-input-method "japanese") - :config (mir/general-config)) + :config (require 'mir-keybinds)) (elpaca-wait) (use-package gcmh :diminish