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

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

bug#54381: 29.0.50; Automatically load custom-file


From: Lars Ingebrigtsen
Subject: bug#54381: 29.0.50; Automatically load custom-file
Date: Mon, 14 Mar 2022 10:47:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Attached is a patch to automatically load custom-file when defined.

[...]

> +;;;###autoload
> +(defcustom custom-file-load-p t

This isn't really feasible -- it'll lead to the custom file being loaded
twice for everybody that currently have a

(load custom-file)

in their init files (which will change the order of customisations).

So if we add this user option, it'll have to default to nil, and in that
case I don't see much point in the user option.  (Because people will
have to `setq' it in their init files.)

If we introduced the `custom-file' variable today, we'd load it
automatically, but I don't think it's possible to do so now without
breaking stuff.

Anybody else got an opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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