emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bae5fa5d9a 4/5: Fix src/fileio.c comment


From: Paul Eggert
Subject: master bae5fa5d9a 4/5: Fix src/fileio.c comment
Date: Mon, 13 Feb 2023 15:33:08 -0500 (EST)

branch: master
commit bae5fa5d9a8ef8c41fbb3408eea441a2ee14d1db
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Fix src/fileio.c comment
    
    * 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fileio.c b/src/fileio.c
index 47177be0f4..ee30db8b49 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]