Don't break autoload generation of `left-margin' isn't zero

* lisp/emacs-lisp/autoload.el (make-directory-autoloads): Fix
autoload generation breakage is left-margin isn't zero (bug#54491).
This commit is contained in:
Lars Ingebrigtsen 2022-03-21 19:15:55 +01:00
parent d74cd0cf1f
commit fd5fe11211

View file

@ -1108,6 +1108,9 @@ directory or directories specified."
;; Files with no autoload cookies or whose autoloads go to other
;; files because of file-local autoload-generated-file settings.
(no-autoloads nil)
;; Ensure that we don't do odd things when putting the doc
;; strings into the autoloads file.
(left-margin 0)
(autoload-modified-buffers nil)
(output-time
(and (file-exists-p output-file)