From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: wrong function name for `update-autoloads-from-directories' Date: Fri, 2 May 2003 15:21:07 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1051889185 15526 80.91.224.249 (2 May 2003 15:26:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 May 2003 15:26:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 02 17:26:22 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BcQY-000428-00 for ; Fri, 02 May 2003 17:26:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19BcS9-0004Qx-00 for ; Fri, 02 May 2003 17:28:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BcOy-0002nW-0B for emacs-devel@quimby.gnus.org; Fri, 02 May 2003 11:24:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BcO4-0001n5-00 for emacs-devel@gnu.org; Fri, 02 May 2003 11:23:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BcMu-0000dR-00 for emacs-devel@gnu.org; Fri, 02 May 2003 11:22:41 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BcLW-0007y9-00 for emacs-devel@gnu.org; Fri, 02 May 2003 11:21:11 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Fri, 2 May 2003 15:21:07 +0000 (UTC) Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13628 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13628 Today's CVS snapshot, Fri, 2003 May 2 12:11 UTC The name is `update-autoloads-from-directories' not `update-directory-autoloads' The emacs/lispref/loading.texi file says: @kbd{M-x update-directory-autoloads} is even more powerful; it updates autoloads for all files in the current directory. but the name of the command is: update-autoloads-from-directories (To see this in Info, see (elisp)Autoload ) Its function definition is in emacs/lisp/emacs-lisp/autoload.el Moreover, the documumention for the `update-autoloads-from-directories' command is somewhat misleading. It says: Update loaddefs.el with all the current autoloads from DIRS, and no old ones. This uses `update-file-autoloads' (which see) do its work. As far as I can see, it would be useful to add: When called interactively, DIRS must be the name of a single directory; when evaluated as an expression, DIRS may be the names of several directories, each a string. The function does NOT recursively descend into directories below the directory named. Because autoloading is so important, I don't want to make any change myself, lest I break Emacs. It looks to me that the command name in emacs/lispref/loading.texi should be changed. However, I am not so sure whether the documumention for the function definition needs to be changed or whether my experiments, which led to those comments, are any good. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com