Mercurial > emacs
comparison src/fileio.c @ 3829:4130587b6ffc
* fileio.c (Fset_visited_file_modtime): We're only passing two
arguments to the file name handler; use call2, not call3.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 19 Jun 1993 01:04:50 +0000 |
parents | 04b741620a50 |
children | 39caef7a70c2 |
comparison
equal
deleted
inserted
replaced
3828:c9f18a7140f9 | 3829:4130587b6ffc |
---|---|
2939 /* If the file name has special constructs in it, | 2939 /* If the file name has special constructs in it, |
2940 call the corresponding file handler. */ | 2940 call the corresponding file handler. */ |
2941 handler = Ffind_file_name_handler (filename); | 2941 handler = Ffind_file_name_handler (filename); |
2942 if (!NILP (handler)) | 2942 if (!NILP (handler)) |
2943 /* The handler can find the file name the same way we did. */ | 2943 /* The handler can find the file name the same way we did. */ |
2944 return call3 (handler, Qset_visited_file_modtime, Qnil); | 2944 return call2 (handler, Qset_visited_file_modtime, Qnil); |
2945 else if (stat (XSTRING (filename)->data, &st) >= 0) | 2945 else if (stat (XSTRING (filename)->data, &st) >= 0) |
2946 current_buffer->modtime = st.st_mtime; | 2946 current_buffer->modtime = st.st_mtime; |
2947 } | 2947 } |
2948 | 2948 |
2949 return Qnil; | 2949 return Qnil; |