unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* wrong function name for `update-autoloads-from-directories'
@ 2003-05-02 15:21 Robert J. Chassell
  2003-05-04 13:03 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Robert J. Chassell @ 2003-05-02 15:21 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wrong function name for `update-autoloads-from-directories'
  2003-05-02 15:21 wrong function name for `update-autoloads-from-directories' Robert J. Chassell
@ 2003-05-04 13:03 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-05-04 13:03 UTC (permalink / raw)
  Cc: emacs-devel

I decided to change the name of the command to match the documentation.
Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-04 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-02 15:21 wrong function name for `update-autoloads-from-directories' Robert J. Chassell
2003-05-04 13:03 ` Richard Stallman

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).