aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-12-06 19:35:16 +0200
committerEli Zaretskii2018-12-06 19:35:16 +0200
commit6fa44f9696801eeed6a4af29549cedd5c570785a (patch)
tree47ba4a8fab011656bea4485120ec8a737cbcb33e
parent7d33c775b245dc011f56559a8a776728888d7246 (diff)
downloademacs-6fa44f9696801eeed6a4af29549cedd5c570785a.tar.gz
emacs-6fa44f9696801eeed6a4af29549cedd5c570785a.zip
Avoid an error on exit in a build without threads
* lisp/simple.el (list-processes--refresh): Avoid signaling an error in a build --without-threads. (Bug#33629)
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index e1922384f26..db59b9f5bc3 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4006,7 +4006,9 @@ Also, delete any process that is exited or signaled."
4006 (tty (or (process-tty-name p) "--")) 4006 (tty (or (process-tty-name p) "--"))
4007 (thread 4007 (thread
4008 (cond 4008 (cond
4009 ((null (process-thread p)) "--") 4009 ((or
4010 (null (process-thread p))
4011 (not (fboundp 'thread-name))) "--")
4010 ((eq (process-thread p) main-thread) "Main") 4012 ((eq (process-thread p) main-thread) "Main")
4011 ((thread-name (process-thread p))))) 4013 ((thread-name (process-thread p)))))
4012 (cmd 4014 (cmd