]> git.eshelyaron.com Git - emacs.git/commitdiff
(update-file-autoloads):
authorRichard M. Stallman <rms@gnu.org>
Sat, 23 Aug 1997 05:32:56 +0000 (05:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 23 Aug 1997 05:32:56 +0000 (05:32 +0000)
Be careful about which directory to find loaddefs.el in.

lisp/emacs-lisp/autoload.el

index adc8b6fb2244122692f3c614940b30a423d16371..9ae7188120ae3d3635d6f2dd1418f41cb9e290ee 100644 (file)
@@ -310,7 +310,10 @@ are used."
          (set-buffer existing-buffer))
       ;; We must read/write the file without any code conversion.
       (let ((coding-system-for-read 'no-conversion))
-       (set-buffer (find-file-noselect generated-autoload-file)))
+       (set-buffer (find-file-noselect
+                    (expand-file-name generated-autoload-file
+                                      (expand-file-name "lisp"
+                                                        source-directory)))))
       (save-excursion
        (save-restriction
          (widen)