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

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

Re: package-enable-at-startup can be set via Customize (it seems), despi


From: Eli Zaretskii
Subject: Re: package-enable-at-startup can be set via Customize (it seems), despite what the manual says
Date: Sun, 24 Nov 2024 12:20:55 +0200

> Date: Sun, 24 Nov 2024 11:11:52 +0100
> From: Alain.Cochard@unistra.fr
> 
> 
> I have emacs version: GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu,
> GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-07-16.
> 
> In the Info manual for Emacs I see "This is the ‘GNU Emacs Manual’, updated
> for Emacs version 29.4"; so this seems consistent.
> 
> In section "49.3 Package Installation", I see
> 
> "To keep Emacs from automatically making packages available at startup,
> change the variable ‘package-enable-at-startup’ to ‘nil’.  [...] Currently
> this variable cannot be set via Customize."
> 
> but if I type 'C-h v package-enable-at-startup <RET>' I get:
> 
> package-enable-at-startup is a variable defined in ‘package.el’.  [...]
> You can customize this variable.

This has been updated for Emacs 30.  The text now says:

     To keep Emacs from automatically making packages available at
  startup, change the variable ‘package-enable-at-startup’ to ‘nil’.  You
  must do this in the early init file, as the variable is read before
  loading the regular init file.  Therefore, if you customize this
  variable via Customize, you should save your customized setting into
  your early init file.  To do this, set or change the value of the
  variable ‘custom-file’ (*note Saving Customizations::) to point to your
  early init file before saving the customized value of
  ‘package-enable-at-startup’.



reply via email to

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