]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/fileio.c (Fverify_visited_file_modtime): Fix fs check.
authorPo Lu <luangruo@yahoo.com>
Sat, 21 Jan 2023 13:18:44 +0000 (21:18 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 21 Jan 2023 13:18:44 +0000 (21:18 +0800)
src/fileio.c

index 218c2b01cd2cdc1ac0d0c83ebbae3544dbc18861..492a43d74c3391c829c98b5c396706568dccf400 100644 (file)
@@ -5891,8 +5891,6 @@ See Info node `(elisp)Modification Time' for more details.  */)
     return call2 (handler, Qverify_visited_file_modtime, buf);
 
   filename = ENCODE_FILE (BVAR (b, filename));
-  check_mutable_filename (filename);
-
   mtime = (emacs_fstatat (AT_FDCWD, SSDATA (filename), &st, 0) == 0
           ? get_stat_mtime (&st)
           : time_error_value (errno));