[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33629: 27.0.50; Emacs built --without-threads signals (void-function
From: |
Göktuğ Kayaalp |
Subject: |
bug#33629: 27.0.50; Emacs built --without-threads signals (void-function thread-name) when `save-buffers-kill-terminal' |
Date: |
Thu, 06 Dec 2018 16:57:21 +0300 |
On 2018-12-05 20:21 +02, Eli Zaretskii <eliz@gnu.org> wrote:
> Does the patch below fix the problem?
Yes, thank you!
> diff --git a/lisp/simple.el b/lisp/simple.el
> index e192238..db59b9f 100644
> --- a/lisp/simple.el
> +++ b/lisp/simple.el
> @@ -4006,7 +4006,9 @@ list-processes--refresh
> (tty (or (process-tty-name p) "--"))
> (thread
> (cond
> - ((null (process-thread p)) "--")
> + ((or
> + (null (process-thread p))
> + (not (fboundp 'thread-name))) "--")
> ((eq (process-thread p) main-thread) "Main")
> ((thread-name (process-thread p)))))
> (cmd
--
İ. Göktuğ Kayaalp <https://www.gkayaalp.com/>
024C 30DD 597D 142B 49AC
40EB 465C D949 B101 2427