Fix last change in dired.c
authorEli Zaretskii <eliz@gnu.org>
Mon, 4 Nov 2019 15:39:12 +0000 (17:39 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 4 Nov 2019 15:39:12 +0000 (17:39 +0200)
* src/dired.c (file_name_completion): Fix arguments to
Fcompare_strings.  (Bug#38056)

src/dired.c

index 0e1c88f03ce037581e185840759810f1d705973b..a5153790c45d71498126bee81b839f8b7300081b 100644 (file)
@@ -585,7 +585,7 @@ file_name_completion (Lisp_Object file, Lisp_Object dirname, bool all_flag,
                        cmp_len = make_fixnum (elt_len);
                        if (skip < 0
                            || !EQ (Fcompare_strings (name, make_fixnum (skip),
-                                                     cmp_len,
+                                                     Qnil,
                                                      elt, zero, cmp_len, Qt),
                                    Qt))
                          continue;
@@ -619,7 +619,7 @@ file_name_completion (Lisp_Object file, Lisp_Object dirname, bool all_flag,
                        cmp_len = make_fixnum (elt_len);
                        if (skip < 0
                            || !EQ (Fcompare_strings (name, make_fixnum (skip),
-                                                     cmp_len,
+                                                     Qnil,
                                                      elt, zero, cmp_len, Qt),
                                    Qt))
                          continue;