summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/thread.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-08-31 11:45:37 +0200
committerMichael Albinus <michael.albinus@gmx.de>2018-08-31 11:45:37 +0200
commitee2509bd828070ae5d17fcc766f81715050ba673 (patch)
tree89ebdb3af0ef10d1344b01323dd832a776d414f3 /lisp/emacs-lisp/thread.el
parent6f3cf12e4fb6c810ebf37c8819dc2ee39b02199e (diff)
downloademacs-ee2509bd828070ae5d17fcc766f81715050ba673.tar.gz
emacs-ee2509bd828070ae5d17fcc766f81715050ba673.tar.bz2
emacs-ee2509bd828070ae5d17fcc766f81715050ba673.zip
Mark thread-alive-p as obsolete
* etc/NEWS (thread-alive-p): * lisp/emacs-lisp/thread.el (thread-alive-p): Mark it as obsolete. * test/src/thread-tests.el (threads-join-error) (threads-signal-main-thread): Use `thread-live-p'.
Diffstat (limited to 'lisp/emacs-lisp/thread.el')
-rw-r--r--lisp/emacs-lisp/thread.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/thread.el b/lisp/emacs-lisp/thread.el
index 02cf9b9e53f..5d7b90c26e9 100644
--- a/lisp/emacs-lisp/thread.el
+++ b/lisp/emacs-lisp/thread.el
@@ -38,5 +38,7 @@ An EVENT has the format
(err (cddr event)))
(message "Error %s: %S" thread err))))
+(make-obsolete 'thread-alive-p 'thread-live-p "27.1")
+
(provide 'thread)
;;; thread.el ends here