diff options
author | Gemini Lasswell <gazally@runbox.com> | 2018-08-01 09:22:32 -0700 |
---|---|---|
committer | Gemini Lasswell <gazally@runbox.com> | 2018-09-09 07:41:49 -0700 |
commit | 3ca82c59de839f9c10318438ecc87f931b8a0208 (patch) | |
tree | 31b90d02c22f98564e758a98f6ce0897975c5706 /lisp/emacs-lisp/thread.el | |
parent | a133b1f7d6a6961cdb59217918ce7f7c106f420e (diff) | |
download | emacs-3ca82c59de839f9c10318438ecc87f931b8a0208.tar.gz emacs-3ca82c59de839f9c10318438ecc87f931b8a0208.tar.bz2 emacs-3ca82c59de839f9c10318438ecc87f931b8a0208.zip |
Make lisp/thread.el the new home for thread-related Lisp functions
* lisp/emacs-lisp/thread-list.el: Remove.
* lisp/emacs-lisp/thread.el: Remove.
* lisp/thread.el: New file.
Diffstat (limited to 'lisp/emacs-lisp/thread.el')
-rw-r--r-- | lisp/emacs-lisp/thread.el | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/lisp/emacs-lisp/thread.el b/lisp/emacs-lisp/thread.el deleted file mode 100644 index 5d7b90c26e9..00000000000 --- a/lisp/emacs-lisp/thread.el +++ /dev/null @@ -1,44 +0,0 @@ -;;; thread.el --- List active threads in a buffer -*- lexical-binding: t -*- - -;; Copyright (C) 2018 Free Software Foundation, Inc. - -;; Author: Gemini Lasswell <gazally@runbox.com> -;; Maintainer: emacs-devel@gnu.org -;; Keywords: lisp, tools, maint - -;; This file is part of GNU Emacs. - -;; GNU Emacs is free software: you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. - -;; GNU Emacs is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. - -;;; Commentary: - -;;; Code: - -;;;###autoload -(defun thread-handle-event (event) - "Handle thread events, propagated by `thread-signal'. -An EVENT has the format - (thread-event THREAD ERROR-SYMBOL DATA)" - (interactive "e") - (if (and (consp event) - (eq (car event) 'thread-event) - (= (length event) 4)) - (let ((thread (cadr event)) - (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 |