all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* update-autoloads can fail to find correct loaddefs.el
@ 2002-04-27  0:44 lawrence mitchell
  2002-04-27 10:29 ` Jason Rumney
  0 siblings, 1 reply; 2+ messages in thread
From: lawrence mitchell @ 2002-04-27  0:44 UTC (permalink / raw)



In GNU Emacs 21.2.1 (i386-msvc-windows98.2222)
 of 2002-03-19 on buffy
configured using `configure --with-msvc (12.00)'


Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I think this applies to all systems, however, have only tested on MS
Windows.
When calling update-autoloads the file name for loaddefs.el is the
value thereof at Emacs' build time, rather than where Emacs might
currently be installed.

The problem seems to lie in the fact that update-autoloads tries to
find loaddefs.el by doing:

(expand-file-name generated-autoload-file
                  (expand-file-name "lisp"
			            source-directory))

Which, if Emacs has subsequently moved, or been compiled in one
directory and then installed in another will return the wrong file
name.  I suppose this can be remedied at the user end by redefining
what source-directory's value is, but this doesn't seem like a nice
solution.  I'm not sure whether replacing that call by
(locate-library generated-autoload-file) would break anything.

-- 
lawrence mitchell <wence@gmx.li>

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

end of thread, other threads:[~2002-04-27 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-27  0:44 update-autoloads can fail to find correct loaddefs.el lawrence mitchell
2002-04-27 10:29 ` Jason Rumney

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.