Commit 9ee65d31 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(update-file-autoloads):

Be careful about which directory to find loaddefs.el in.
parent 961a48db
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment