From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Basic question about autoload function Date: Wed, 06 Dec 2017 18:55:32 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512586574 1068 195.159.176.226 (6 Dec 2017 18:56:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2017 18:56:14 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 06 19:56:10 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1eMerZ-00007G-Re for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Dec 2017 19:56:09 +0100 Original-Received: from localhost ([::1]:57051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMerh-0006U5-3S for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Dec 2017 13:56:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMerC-0006Tm-Fu for help-gnu-emacs@gnu.org; Wed, 06 Dec 2017 13:55:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMerB-0004qC-Pm for help-gnu-emacs@gnu.org; Wed, 06 Dec 2017 13:55:46 -0500 Original-Received: from mail-yb0-x229.google.com ([2607:f8b0:4002:c09::229]:44297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMerB-0004pg-Kn for help-gnu-emacs@gnu.org; Wed, 06 Dec 2017 13:55:45 -0500 Original-Received: by mail-yb0-x229.google.com with SMTP id z62so1966286yba.11 for ; Wed, 06 Dec 2017 10:55:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KW6Qlr9/ATIWVPAHqZZpfAsF7hR+fY5EMyk8YmpDW1A=; b=k8zMjRRGQtJGROCYFdelXXflVpEyPDCy8GQDqg+U74/HBNWB0Svv5fOAIAXBnDkiL3 kqWUpRPCWevD7evdXrEgmFAvPjAiz65RmI3XFLNX8bRqlHMkJPjHqGibXIvgXTfC9sRT 9YAUS1fHfenTelCQSuNpvxcH0N+qmyMRNeAYlxCAnE2Ex/z7d41U/05TQ9DIt432n7HK GMcVG2ng2wbCyrGvY2aopveeqFYRN5lQdfX1dGHYN+Z46vAccMIgyC4w7zMa38iop3AX UvM65UpltXQ6WtuKHb8JT2sO6oAJsU2Vng2/3C/JQHW+1G/27Jnf5Jjb6oVeBoeUjoZB gkdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KW6Qlr9/ATIWVPAHqZZpfAsF7hR+fY5EMyk8YmpDW1A=; b=n3XQZLAhubYCWo2m6dkrCgqSWwxbhgrWUSbENBrZPyqJRKN1fval479fCemQnzlePo LYDCnU2fJXZC/KErUpIvttsXQE8XpgcdCKgLiBdgf8ws1ex6Whw++KWzoBSF+U0IQb9i XghlBDgHGBmaoEB4jxkgoFREiQm4OI3Xmtoq9ycbrCXuBPnzOxeGIa0FpMIUPU/Q5muy YA6ZvbLuEzrZstYir+AxXb4IRyS6tTqnLuldlEfU0nhZTm/um32twzfItCnQrhphCIQ6 18nSLWFcBdOpICwgzZTLnuv37+Gmt8R5bxwjVODpGipoow1VcF52sD6Sa38DhXbOQ8FK 5VuQ== X-Gm-Message-State: AJaThX4a44XQYNgyI27Rcmxvfcqi1X8vsVDqhpzVHmBA737+Zpvy7Pjr RvseIwfERRt4FTwCRh2quhcmYm3d4vTL+6DE7GU= X-Google-Smtp-Source: AGs4zMYiuSeDA21Nq+hhMYuS7UKIRl/VrvvOv9IN7LNpgrQTJCVfjcR+Qud8Avs0E0dJ1GkifcRrvRhGxAqdXCwftCk= X-Received: by 10.37.129.12 with SMTP id o12mr15730856ybk.28.1512586544365; Wed, 06 Dec 2017 10:55:44 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115269 Archived-At: Hello, I have recently realized that (autoload #'foo-fn "bar-pkg") works even if foo-fn is *not* defined inside bar-pkg. The documentation also doesn't say that it has to be that way. So I was just pleasantly surprised that that did the right thing. I looked at src/eval.c to confirm if that was the case (that it didn't matter if foo-fn was or wasn't inside bar-pkg).. but I don't understand what's going on in there (don't understand C). Can someone confirm? -- Kaushal Modi