changeset 21369:9ca6953d7ce8

(update-file-autoloads): Redo 1997-08-23 change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 05 Apr 1998 18:47:51 +0000
parents 37b978fc46cb
children e8224143df73
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	Sun Apr 05 18:45:06 1998 +0000
+++ b/lisp/emacs-lisp/autoload.el	Sun Apr 05 18:47:51 1998 +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)))))
       (or (> (buffer-size) 0)
 	  (error "Autoloads file %s does not exist" buffer-file-name))
       (or (file-writable-p buffer-file-name)