projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d33c77
)
Avoid an error on exit in a build without threads
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 6 Dec 2018 17:35:16 +0000
(19:35 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 6 Dec 2018 17:35:16 +0000
(19:35 +0200)
* lisp/simple.el (list-processes--refresh): Avoid signaling an
error in a build --without-threads. (Bug#33629)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index e1922384f267155502c795d3113b7914d02c7890..db59b9f5bc34ee2696d4f6f2473383936ed9d3bc 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-4006,7
+4006,9
@@
Also, delete any process that is exited or signaled."
(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