help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About early-init right use.


From: Stefan Monnier
Subject: Re: About early-init right use.
Date: Tue, 02 Apr 2019 14:40:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> (add-hook 'emacs-startup-hook
>           `(lambda ()
>              (setq file-name-handler-alist file-name-handler-alist-old
>                    gc-cons-threshold 800000
>                    gc-cons-percentage 0.1)
>              (garbage-collect)
>              (message "Load time %.06f"
>                       (float-time (time-since my/start-time))))
>          t)

I recommend you don't quote your lambdas.

> (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/";)
>                          ("melpa" . "https://melpa.org/packages/";)))

You can set this in your `emacs.el` rather than early-init.el.

> (setq package-quickstart t)

You can set this in your `emacs.el` rather than early-init.el.
[ Controversially, the quickstart file is used at startup regardless of
  your package-quickstart setting.  ]


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]