diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-09-18 05:17:03 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-09-18 05:18:58 -0700 |
commit | 9597ee68d999d43145d47ff53e1474f1493f8727 (patch) | |
tree | 3b93b2c431a6aaaf1695841894f64f4e172943c9 /src/fileio.c | |
parent | 98586c2fe62fd26bc9105a06b78d93446bd2a269 (diff) | |
download | emacs-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.c | 2 |
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) |