From 314fbd8388698f90764755b3dcad411b7b42c501 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:16:44 -0400 Subject: [PATCH] Rename load-user-lisp -> minimal-emacs-load-user-init --- early-init.el | 6 +++--- init.el | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/early-init.el b/early-init.el index 1b20358..eb75879 100644 --- a/early-init.el +++ b/early-init.el @@ -14,14 +14,14 @@ ;;; Code: -(defun load-user-lisp (filename) +(defun minimal-emacs-load-user-init (filename) "Execute a file of Lisp code named FILENAME." (let ((user-init-file (expand-file-name filename user-emacs-directory))) (when (file-exists-p user-init-file) (load user-init-file)))) -(load-user-lisp "user-pre-early-init.el") +(minimal-emacs-load-user-init "user-pre-early-init.el") ;; Garbage collection significantly affects startup times. This setting delays ;; garbage collection during startup but will be reset later. @@ -49,7 +49,7 @@ (when (fboundp 'horizontal-scroll-bar-mode) (horizontal-scroll-bar-mode -1)) -(load-user-lisp "user-post-early-init.el") +(minimal-emacs-load-user-init "user-post-early-init.el") (provide 'early-init) diff --git a/init.el b/init.el index 9196061..432a63c 100644 --- a/init.el +++ b/init.el @@ -15,7 +15,7 @@ ;;; Code: ;;; Load user-pre-init.el -(load-user-lisp "user-pre-init.el") +(minimal-emacs-load-user-init "user-pre-init.el") ;;; package: Set package archives for package installation (progn @@ -53,7 +53,7 @@ (require 'use-package))) ;;; Load user-pre-init.el -(load-user-lisp "user-post-init.el") +(minimal-emacs-load-user-init "user-post-init.el") (provide 'init)