aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 68ad2790969..e3a2cc9f2bb 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2910,7 +2910,8 @@ An argument specifies the modification time value to use\n\
2910 call the corresponding file handler. */ 2910 call the corresponding file handler. */
2911 handler = Ffind_file_name_handler (filename); 2911 handler = Ffind_file_name_handler (filename);
2912 if (!NILP (handler)) 2912 if (!NILP (handler))
2913 return call3 (handler, Qset_visited_file_modtime, filename, Qnil); 2913 /* The handler can find the file name the same way we did. */
2914 return call3 (handler, Qset_visited_file_modtime, Qnil);
2914 else if (stat (XSTRING (filename)->data, &st) >= 0) 2915 else if (stat (XSTRING (filename)->data, &st) >= 0)
2915 current_buffer->modtime = st.st_mtime; 2916 current_buffer->modtime = st.st_mtime;
2916 } 2917 }