Subject: Re: bug#48019: 28.0.50; Error signaled by documentation function

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Apr 2021 02:02:21 +0200

Which is this.

Stefan, this leads to errors when re-reading the etc/DOC file -- the
variable in question is assumed to always be a list.

commit 2fb271ca35ff96540c0940b0ea5281bdaac953ec
Author:     Stefan Monnier <[email-masked]>
AuthorDate: Thu Apr 22 09:32:04 2021 -0400
Commit:     Stefan Monnier <[email-masked]>
CommitDate: Thu Apr 22 09:32:04 2021 -0400

    Fix unload+reload of files using `custom-initialize-delay` (bug#47072)
    
    * lisp/custom.el (custom-initialize-delay): Don't delay if
    `custom-delayed-init-variables` has already been processed.
    * lisp/startup.el (command-line): Mark `custom-delayed-init-variables`
    as processed.

diff --git a/lisp/startup.el b/lisp/startup.el
index 4d4c65e6c4..c1267274d9 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1175,7 +1175,7 @@ command-line
         ;; are dependencies between them.
         (nreverse custom-delayed-init-variables))
   (mapc #'custom-reevaluate-setting custom-delayed-init-variables)
-  (setq custom-delayed-init-variables nil)
+  (setq custom-delayed-init-variables t)
 
   ;; Warn for invalid user name.
   (when init-file-user

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no