From 68521d611f25a068b1642e5a46cc7b085b7e7dfe Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 5 Apr 1998 18:47:51 +0000 Subject: [PATCH] (update-file-autoloads): Redo 1997-08-23 change. --- 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 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) -- 2.39.2