aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-14 03:49:04 +0000
committerRichard M. Stallman1993-06-14 03:49:04 +0000
commitcaf3c43175f63f39725ee4df97755b2727fb1159 (patch)
tree2b1ff9e36a27bde3fedda9cb88219bed9359f79b /src
parent340f92b5768127c013bc7eb62f1c672a5430955d (diff)
downloademacs-caf3c43175f63f39725ee4df97755b2727fb1159.tar.gz
emacs-caf3c43175f63f39725ee4df97755b2727fb1159.zip
(Fset_visited_file_modtime): Don't give the handler
the filename as an argument.
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 }