From: Richard M. Stallman Date: Sat, 23 Aug 1997 05:32:56 +0000 (+0000) Subject: (update-file-autoloads): X-Git-Tag: emacs-20.1~466 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ee65d3171043c1435f871ce9db56330fdf6e007;p=emacs.git (update-file-autoloads): Be careful about which directory to find loaddefs.el in. --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index adc8b6fb224..9ae7188120a 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))))) (save-excursion (save-restriction (widen)