From: Michael Albinus Date: Thu, 9 Jan 2020 12:40:14 +0000 (+0100) Subject: Remove obsolete thread-alive-p X-Git-Tag: emacs-28.0.90~7908^2~151 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70873074a15edbc64993f68d7cc50d2f46cc796b;p=emacs.git Remove obsolete thread-alive-p * etc/NEWS (thread-alive-p): * lisp/thread.el (thread-alive-p): * src/thread.c (thread-alive-p): Remove. --- diff --git a/etc/NEWS b/etc/NEWS index 0784160ce22..b87202014d2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -44,10 +44,12 @@ applies, and please also update docstrings as needed. ** 'equal' no longer examines some contents of window configurations. Instead, it considers window configurations to be equal only if they -are eq. To compare contents, use compare-window-configurations -instead. This change helps fix a bug in sxhash-equal, which returned +are 'eq'. To compare contents, use 'compare-window-configurations' +instead. This change helps fix a bug in 'sxhash-equal', which returned incorrect hashes for window configurations and some other objects. +** The obsolete function 'thread-alive-p' has been removed. + * Lisp Changes in Emacs 28.1 diff --git a/lisp/thread.el b/lisp/thread.el index d40d7bed538..00a0084f81f 100644 --- a/lisp/thread.el +++ b/lisp/thread.el @@ -43,8 +43,6 @@ An EVENT has the format (err (cddr event))) (message "Error %s: %S" thread err)))) -(make-obsolete 'thread-alive-p 'thread-live-p "27.1") - ;;; The thread list buffer and list-threads command (defcustom thread-list-refresh-seconds 0.5 diff --git a/src/thread.c b/src/thread.c index c7fe0614269..df1a7053826 100644 --- a/src/thread.c +++ b/src/thread.c @@ -1114,9 +1114,6 @@ syms_of_threads (void) staticpro (&last_thread_error); last_thread_error = Qnil; - Fdefalias (intern_c_string ("thread-alive-p"), - intern_c_string ("thread-live-p"), Qnil); - Fprovide (intern_c_string ("threads"), Qnil); }