From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: default-toplevel-value and set-default-toplevel-value Date: Mon, 26 Dec 2016 19:13:36 +0200 Message-ID: <83zijiwr3z.fsf@gnu.org> References: <83fultce6q.fsf@gnu.org> <8360m7xt8y.fsf@gnu.org> <834m1qy9z5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1482772439 20644 195.159.176.226 (26 Dec 2016 17:13:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Dec 2016 17:13:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 26 18:13:55 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLYqQ-0004o9-NB for ged-emacs-devel@m.gmane.org; Mon, 26 Dec 2016 18:13:54 +0100 Original-Received: from localhost ([::1]:51112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLYqV-0006Va-C1 for ged-emacs-devel@m.gmane.org; Mon, 26 Dec 2016 12:13:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLYqP-0006VQ-J0 for emacs-devel@gnu.org; Mon, 26 Dec 2016 12:13:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLYqL-0002DM-Kb for emacs-devel@gnu.org; Mon, 26 Dec 2016 12:13:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLYqL-0002DG-IB; Mon, 26 Dec 2016 12:13:49 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3473 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cLYqK-0000jb-Ls; Mon, 26 Dec 2016 12:13:49 -0500 In-reply-to: (message from Stefan Monnier on Mon, 26 Dec 2016 11:45:55 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210821 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Mon, 26 Dec 2016 11:45:55 -0500 > > > Yes, because there doesn't seem to be any need for using it, as > > default-value is unaffected by the let-binding. > > That's because the let-binding was in a buffer which had a buffer-local > value, so the let-binding only affects the buffer-local value. So this is only for when Lisp code runs in a buffer that doesn't have a localized binding? Thanks, I think I've got it. Please see if the documentation I just pushed to the emacs-25 branch looks okay.