From: Stefan Monnier Date: Thu, 29 Apr 2021 22:11:04 +0000 (-0400) Subject: * src/doc.c (Fsnarf_documentation): Fix bug#48019 X-Git-Tag: emacs-28.0.90~2667 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c901d90e620b4d3651b86c13faf1e81eeb3db10;p=emacs.git * src/doc.c (Fsnarf_documentation): Fix bug#48019 Don't presume that `custom-delayed-init-variables` holds a list. --- diff --git a/src/doc.c b/src/doc.c index 01f4368e3b6..e179a126184 100644 --- a/src/doc.c +++ b/src/doc.c @@ -550,7 +550,7 @@ the same file name is found in the `doc-directory'. */) Lisp_Object delayed_init = find_symbol_value (intern ("custom-delayed-init-variables")); - if (EQ (delayed_init, Qunbound)) delayed_init = Qnil; + if (!CONSP (delayed_init)) delayed_init = Qnil; CHECK_STRING (filename);