From: Richard M. Stallman Date: Sun, 5 Apr 1998 18:47:51 +0000 (+0000) Subject: (update-file-autoloads): Redo 1997-08-23 change. X-Git-Tag: emacs-20.3~1705 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68521d611f25a068b1642e5a46cc7b085b7e7dfe;p=emacs.git (update-file-autoloads): Redo 1997-08-23 change. --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index a8e57669de5..1a85cd7c688 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -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))))) (or (> (buffer-size) 0) (error "Autoloads file %s does not exist" buffer-file-name)) (or (file-writable-p buffer-file-name)