From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 012487b: * lisp/display-line-numbers.el (display-line-numbers-type): Autoload it. Date: Mon, 24 Jul 2017 16:05:30 -0400 Message-ID: References: <20170723072843.23485.53761@vcs0.savannah.gnu.org> <20170723072844.877FD22EF0@vcs0.savannah.gnu.org> <87inijxnda.fsf@detlef> <83r2x57orp.fsf@gnu.org> <83o9s97lul.fsf@gnu.org> <83inih7kbt.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500926746 8033 195.159.176.226 (24 Jul 2017 20:05:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2017 20:05:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 22:05:42 2017 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 1dZjbk-0001bU-VU for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 22:05:37 +0200 Original-Received: from localhost ([::1]:56775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZjbq-0008I7-ND for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 16:05:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZjbj-0008Ho-WF for emacs-devel@gnu.org; Mon, 24 Jul 2017 16:05:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZjbg-0002Pq-Qr for emacs-devel@gnu.org; Mon, 24 Jul 2017 16:05:35 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:42863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZjbg-0002Pi-FZ; Mon, 24 Jul 2017 16:05:32 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v6OK5UVX000911; Mon, 24 Jul 2017 16:05:30 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 63B4F660EB; Mon, 24 Jul 2017 16:05:30 -0400 (EDT) In-Reply-To: <83inih7kbt.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 24 Jul 2017 21:37:10 +0300") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6078=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6078> : inlines <5991> : streams <1755607> : uri <2469066> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:216999 Archived-At: >> >> - the comment on the defvar isn't needed anyway: it's pretty clear why the >> >> defvar is used >> > It isn't clear to me, at least. >> How so? > Because just _looking_ at the code doesn't explain why it's there, and > its relation to autoloading is not immediately obvious. There is no relation to autoloading. >> It silences the compiler warning, just like all such (defvar foo). > But this is not about silencing the compiler, this is about > autoloading. No, it's really just about silencing the byte-compiler. Stefan