From 766f636a72d890c0304cbbf49b7e1391aba0f406 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 12 Nov 2021 09:47:44 +0200 Subject: [PATCH] ; * src/lread.c (safe_to_load_version, Fload): Fix coding style. --- src/lread.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/lread.c b/src/lread.c index 39cab19fc00..3052bcbd063 100644 --- a/src/lread.c +++ b/src/lread.c @@ -1054,7 +1054,7 @@ safe_to_load_version (Lisp_Object file, int fd) /* If the file is not regular, then we cannot safely seek it. Assume that it is not safe to load as a compiled file. */ - if (fstat(fd, &st) == 0 && !S_ISREG (st.st_mode)) + if (fstat (fd, &st) == 0 && !S_ISREG (st.st_mode)) return 0; /* Read the first few bytes from the file, and look for a line @@ -1418,11 +1418,8 @@ Return t if the file exists and loads successfully. */) struct stat s1, s2; int result; - if (version < 0 - && ! (version = safe_to_load_version (file, fd))) - { - error ("File `%s' was not compiled in Emacs", SDATA (found)); - } + if (version < 0 && !(version = safe_to_load_version (file, fd))) + error ("File `%s' was not compiled in Emacs", SDATA (found)); compiled = 1; -- 2.39.2