From b5fe58162525ad1d2c0e56912d533fa97d4bb11e Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Tue, 6 Aug 2024 14:03:04 -0400 Subject: [PATCH] Update README.md --- README.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/README.md b/README.md index 609035a..f10e352 100644 --- a/README.md +++ b/README.md @@ -250,21 +250,6 @@ You can also install `vdiff`, which provides Vimdiff-like functionality for Emac (load bootstrap-file nil 'nomessage)) ``` -### How to display the startup time? - -Add the following to `~/.emacs.d/pre-init.el`: -``` emacs-lisp -(defun display-startup-time () - "Display startup time." - (message "Emacs loaded in %s with %d garbage collections." - (format "%.2f seconds" - (float-time - (time-subtract after-init-time before-init-time))) - gcs-done)) - -(add-hook 'emacs-startup-hook #'display-startup-time) -``` - ### How to increase gc-cons-threshold? Add the following to `~/.emacs.d/pre-early-init.el` to ensure that `minimal-emacs.d` restores the specified amount after startup: