aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dired.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dired.c b/src/dired.c
index b81e35384ea..3f5c93b5732 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -236,6 +236,9 @@ directory_files_internal (Lisp_Object directory, Lisp_Object full,
236#endif 236#endif
237 ; 237 ;
238 238
239 if (!NILP (match))
240 CHECK_STRING (match);
241
239 /* Loop reading directory entries. */ 242 /* Loop reading directory entries. */
240 for (struct dirent *dp; (dp = read_dirent (d, directory)); ) 243 for (struct dirent *dp; (dp = read_dirent (d, directory)); )
241 { 244 {