Prefer list1 (X) to Fcons (X, Qnil) when building lists.
[bpt/emacs.git] / src / doc.c
index 3c5a682..04af741 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -609,8 +609,7 @@ the same file name is found in the `doc-directory'.  */)
 
   fd = emacs_open (name, O_RDONLY, 0);
   if (fd < 0)
-    report_file_error ("Opening doc string file",
-                      Fcons (build_string (name), Qnil));
+    report_file_error ("Opening doc string file", list1 (build_string (name)));
   Vdoc_file_name = filename;
   filled = 0;
   pos = 0;