From: Lars Ingebrigtsen Date: Mon, 21 Mar 2022 18:15:55 +0000 (+0100) Subject: Don't break autoload generation of `left-margin' isn't zero X-Git-Tag: emacs-29.0.90~1931^2~1008 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd5fe11211a469c42fb7142f5a26f577e8ff0010;p=emacs.git 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). --- diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index d0bf342b842..1e4b2c14a01 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -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)