]> git.eshelyaron.com Git - emacs.git/commitdiff
(update-autoloads-from-directories):
authorRichard M. Stallman <rms@gnu.org>
Mon, 28 Jul 1997 15:09:00 +0000 (15:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 28 Jul 1997 15:09:00 +0000 (15:09 +0000)
Always update loaddefs.el in the source-directory.

lisp/emacs-lisp/autoload.el

index 0e0832e61cfd385ec0fa5d51b9e7a90bd74b9943..2eb06766442602ec459b6b73d163e487f3613020 100644 (file)
@@ -392,7 +392,10 @@ This uses `update-file-autoloads' (which see) do its work."
                              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))