aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2023-02-13 08:53:52 -0800
committerPaul Eggert2023-02-13 12:32:59 -0800
commitbae5fa5d9a8ef8c41fbb3408eea441a2ee14d1db (patch)
tree10f887603d1240179cb14038fe500cfd543aa2bd
parentccc092115172f15c9135771f90d0000f8bf21614 (diff)
downloademacs-bae5fa5d9a8ef8c41fbb3408eea441a2ee14d1db.tar.gz
emacs-bae5fa5d9a8ef8c41fbb3408eea441a2ee14d1db.zip
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.
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 47177be0f4d..ee30db8b49b 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4101,7 +4101,7 @@ by calling `format-decode', which see. */)
4101 else 4101 else
4102 { 4102 {
4103 /* Don't try looking inside a file for a coding system 4103 /* Don't try looking inside a file for a coding system
4104 specification if it is not seekable. */ 4104 specification if it is not a regular file. */
4105 if (regular && !NILP (Vset_auto_coding_function)) 4105 if (regular && !NILP (Vset_auto_coding_function))
4106 { 4106 {
4107 /* Find a coding system specified in the heading two 4107 /* Find a coding system specified in the heading two