Skip to content

Commit 7087307

Browse files
committed
Remove obsolete thread-alive-p
* etc/NEWS (thread-alive-p): * lisp/thread.el (thread-alive-p): * src/thread.c (thread-alive-p): Remove.
1 parent 91e239a commit 7087307

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

etc/NEWS

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ applies, and please also update docstrings as needed.
4444

4545
** 'equal' no longer examines some contents of window configurations.
4646
Instead, it considers window configurations to be equal only if they
47-
are eq. To compare contents, use compare-window-configurations
48-
instead. This change helps fix a bug in sxhash-equal, which returned
47+
are 'eq'. To compare contents, use 'compare-window-configurations'
48+
instead. This change helps fix a bug in 'sxhash-equal', which returned
4949
incorrect hashes for window configurations and some other objects.
5050

51+
** The obsolete function 'thread-alive-p' has been removed.
52+
5153

5254
* Lisp Changes in Emacs 28.1
5355

lisp/thread.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ An EVENT has the format
4343
(err (cddr event)))
4444
(message "Error %s: %S" thread err))))
4545

46-
(make-obsolete 'thread-alive-p 'thread-live-p "27.1")
47-
4846
;;; The thread list buffer and list-threads command
4947

5048
(defcustom thread-list-refresh-seconds 0.5

src/thread.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,6 @@ syms_of_threads (void)
11141114
staticpro (&last_thread_error);
11151115
last_thread_error = Qnil;
11161116

1117-
Fdefalias (intern_c_string ("thread-alive-p"),
1118-
intern_c_string ("thread-live-p"), Qnil);
1119-
11201117
Fprovide (intern_c_string ("threads"), Qnil);
11211118
}
11221119

0 commit comments

Comments
 (0)