changeset 19482:ec8fe53ace41

(update-file-autoloads): Be careful about which directory to find loaddefs.el in.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Aug 1997 05:32:56 +0000
parents 4d492290e085
children 51345fa7e08b
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	Sat Aug 23 05:25:28 1997 +0000
+++ b/lisp/emacs-lisp/autoload.el	Sat Aug 23 05:32:56 1997 +0000
@@ -310,7 +310,10 @@
 	  (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)