From 7c901d90e620b4d3651b86c13faf1e81eeb3db10 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 29 Apr 2021 18:11:04 -0400 Subject: [PATCH] * src/doc.c (Fsnarf_documentation): Fix bug#48019 Don't presume that `custom-delayed-init-variables` holds a list. --- src/doc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5