summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-07-12 10:49:06 +0200
committerMichael Albinus <michael.albinus@gmx.de>2018-07-12 10:49:06 +0200
commit3744fda5fa92ed058a1eb636a7836759ae5ab06f (patch)
treef83d7a0ade7f138da5f4e03f1cccd2a23662bcc7 /src/thread.c
parentef9025f5bcfb996fbabf5869584e9143bbc81af4 (diff)
downloademacs-3744fda5fa92ed058a1eb636a7836759ae5ab06f.tar.gz
Provide feature 'threads
* src/thread.c (syms_of_threads): Provide feature "threads". * test/src/thread-tests.el (top): Declare the functions. (all): Use (featurep 'threads) check.
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index 60902b252b4..04c2808e5c4 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -1068,6 +1068,8 @@ syms_of_threads (void)
staticpro (&last_thread_error);
last_thread_error = Qnil;
+
+ Fprovide (intern_c_string ("threads"), Qnil);
}
DEFSYM (Qthreadp, "threadp");