]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix src/fileio.c comment
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Feb 2023 16:53:52 +0000 (08:53 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Feb 2023 20:32:59 +0000 (12:32 -0800)
* src/fileio.c (Finsert_file_contents): Fix comment.
Since the code relies on st_size, it’s limited to
regular files, not to seekable files.

src/fileio.c

index 47177be0f4d3f2b7262960b65ae6271f8548278a..ee30db8b49bb76086c72e127a32b9cf5d610bd86 100644 (file)
@@ -4101,7 +4101,7 @@ by calling `format-decode', which see.  */)
       else
        {
          /* Don't try looking inside a file for a coding system
-            specification if it is not seekable.  */
+            specification if it is not a regular file.  */
          if (regular && !NILP (Vset_auto_coding_function))
            {
              /* Find a coding system specified in the heading two