Commit 0e193890 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(update-autoloads-from-directories):

Always update loaddefs.el in the source-directory.
parent a27738b6
......@@ -392,7 +392,10 @@ This uses `update-file-autoloads' (which see) do its work."
dirs)))
autoloads-file
top-dir)
(setq autoloads-file (locate-library generated-autoload-file))
(setq autoloads-file
(expand-file-name generated-autoload-file
(expand-file-name "lisp"
source-directory)))
(setq top-dir (file-name-directory autoloads-file))
(save-excursion
(set-buffer (find-file-noselect autoloads-file))
......
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