From 9ee65d3171043c1435f871ce9db56330fdf6e007 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 23 Aug 1997 05:32:56 +0000 Subject: [PATCH] (update-file-autoloads): Be careful about which directory to find loaddefs.el in. --- lisp/emacs-lisp/autoload.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.39.2