]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't break autoload generation of `left-margin' isn't zero
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 21 Mar 2022 18:15:55 +0000 (19:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 21 Mar 2022 18:15:55 +0000 (19:15 +0100)
* lisp/emacs-lisp/autoload.el (make-directory-autoloads): Fix
autoload generation breakage is left-margin isn't zero (bug#54491).

lisp/emacs-lisp/autoload.el

index d0bf342b842bae65addef0e9a0eed5ece6fd4644..1e4b2c14a01649263b288d0fa3d4700f0a0e132b 100644 (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)