From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help 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 Message-ID: <86bjy5j5ko.fsf@gnu.org> References: <26434.64488.939687.129056@frac.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24164"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 24 11:21:15 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tF9ju-00066r-Vy for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 24 Nov 2024 11:21:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF9ji-0003kB-1H; Sun, 24 Nov 2024 05:21:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF9jg-0003f6-Fl for help-gnu-emacs@gnu.org; Sun, 24 Nov 2024 05:21:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF9jf-0000h2-Se for help-gnu-emacs@gnu.org; Sun, 24 Nov 2024 05:21:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iziJgo9CYe/TDjNoauDpOF2Yi9fxoenxS6tMaLhiOv0=; b=aQiYpHsIFqEtdDDq8vCJ 4yDtn1IZ3bhuXrOPpm5oEnM3LCjtW8ywZ567aarPRh8dXdC8N+ENeefXdkJ88Ozf9Wmj4cqjTQd8W T7HIqqkthfMi8Y6mKXIZrMHiqdzC/8jhTNKCCa0KcDz5t2bgOpRIgzIsMu2buSPmObz+iGvHqDaIR u9biMo9otlX5co28YDbERil3JpsqdZXRX0xBWK59VAcM38SmWIRc0HT7ktf7PeOIeMkvC14mzCmyr Wll+NV29Nu97b1ufmSRyDT9e/Bim0FK/wexcduvgQEn0nh8mlfOZgmMzVQSS7kEuH/7bUG2VZI1XL xT14B0xiOlRdoA==; In-Reply-To: <26434.64488.939687.129056@frac.u-strasbg.fr> (Alain.Cochard@unistra.fr) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148372 Archived-At: > 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 ' 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’.