changeset 19019:65f371a2cf00

(update-autoloads-from-directories): Always update loaddefs.el in the source-directory.
author Richard M. Stallman <rms@gnu.org>
date Mon, 28 Jul 1997 15:09:00 +0000
parents f1f7c254aa77
children 1ee295d0114a
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Mon Jul 28 05:52:35 1997 +0000
+++ b/lisp/emacs-lisp/autoload.el	Mon Jul 28 15:09:00 1997 +0000
@@ -392,7 +392,10 @@
 			      dirs)))
 	autoloads-file
 	top-dir)
-    (setq autoloads-file (locate-library generated-autoload-file))
+    (setq autoloads-file
+	  (expand-file-name generated-autoload-file
+			    (expand-file-name "lisp"
+					      source-directory)))
     (setq top-dir (file-name-directory autoloads-file))
     (save-excursion
       (set-buffer (find-file-noselect autoloads-file))