From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: wrong function name for `update-autoloads-from-directories'
Date: Fri, 2 May 2003 15:21:07 +0000 (UTC) [thread overview]
Message-ID: <m19BcLT-000IeGC@rattlesnake.com> (raw)
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
next reply other threads:[~2003-05-02 15:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-02 15:21 Robert J. Chassell [this message]
2003-05-04 13:03 ` wrong function name for `update-autoloads-from-directories' Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m19BcLT-000IeGC@rattlesnake.com \
--to=bob@rattlesnake.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).