Commit caf3c431 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fset_visited_file_modtime): Don't give the handler

the filename as an argument.
parent 340f92b5
......@@ -2910,7 +2910,8 @@ An argument specifies the modification time value to use\n\
call the corresponding file handler. */
handler = Ffind_file_name_handler (filename);
if (!NILP (handler))
return call3 (handler, Qset_visited_file_modtime, filename, Qnil);
/* The handler can find the file name the same way we did. */
return call3 (handler, Qset_visited_file_modtime, Qnil);
else if (stat (XSTRING (filename)->data, &st) >= 0)
current_buffer->modtime = st.st_mtime;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment