summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-09-18 05:17:03 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-09-18 05:18:58 -0700
commit9597ee68d999d43145d47ff53e1474f1493f8727 (patch)
tree3b93b2c431a6aaaf1695841894f64f4e172943c9 /src/fileio.c
parent98586c2fe62fd26bc9105a06b78d93446bd2a269 (diff)
downloademacs-9597ee68d999d43145d47ff53e1474f1493f8727.tar.gz
Out-of-datedness .elc check is merely a file test
* src/fileio.c (file_test_errno): Now extern. * src/lread.c (Fload): Use file_test_errno instead, since this is really just a file test (the attributes are not given to the user).
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 53eecc31aaf..5337ea5c800 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -265,7 +265,7 @@ file_attribute_errno (Lisp_Object file, int err)
enum { PICKY_EACCES = false };
#endif
-static Lisp_Object
+Lisp_Object
file_test_errno (Lisp_Object file, int err)
{
if (!PICKY_EACCES && err == EACCES)