diff options
Diffstat (limited to 'src/dired.c')
-rw-r--r-- | src/dired.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dired.c b/src/dired.c index 4b6b94d8122..0a119afb5eb 100644 --- a/src/dired.c +++ b/src/dired.c @@ -144,7 +144,7 @@ directory_files_internal (directory, full, match, nosort, attrs) Lisp_Object list, dirfilename, encoded_directory; struct re_pattern_buffer *bufp = NULL; int needsep = 0; - int count = specpdl_ptr - specpdl; + int count = SPECPDL_INDEX (); struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; DIRENTRY *dp; int retry_p; @@ -473,7 +473,7 @@ file_name_completion (file, dirname, all_flag, ver_flag) struct stat st; int directoryp; int passcount; - int count = specpdl_ptr - specpdl; + int count = SPECPDL_INDEX (); struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; elt = Qnil; |