summaryrefslogtreecommitdiff
path: root/src/lread.c
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-03-15 21:44:05 +0000
committerAndrea Corallo <akrl@sdf.org>2020-03-16 23:08:34 +0000
commit159f61baa9e374cfd17acf1a45c0d553b57b7ac9 (patch)
tree6832e7e815fb71c2f95e69af4056122ed1bbd1d8 /src/lread.c
parentea8864fb672a7ff2d1da1b91885239f60e16b359 (diff)
downloademacs-159f61baa9e374cfd17acf1a45c0d553b57b7ac9.tar.gz
emacs-159f61baa9e374cfd17acf1a45c0d553b57b7ac9.tar.bz2
emacs-159f61baa9e374cfd17acf1a45c0d553b57b7ac9.zip
Trigger native compilation when loading bytecode
Introduce a first mechanism to trigger compilation when lex elc files are loaded. This is off by default and has to be better tested.
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index 32c83bfae8b..2d90bccdc07 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1077,7 +1077,7 @@ effective_load_path (void)
}
/* Return true if STRING ends with SUFFIX. */
-static bool
+bool
suffix_p (Lisp_Object string, const char *suffix)
{
ptrdiff_t suffix_len = strlen (suffix);