summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 99c9b0f30e4..d8164d64dc8 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3150,7 +3150,7 @@ This does code conversion according to the value of\n\
else
{
if (SYMBOLP (Vauto_file_coding_system_function)
- && Fboundp (Vauto_file_coding_system_function))
+ && !NILP (Fboundp (Vauto_file_coding_system_function)))
{
/* Find a coding system specified in a few lines at the
head of the file. We assume that the fist 1K bytes is