summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPip Cet <pipcet@gmail.com>2019-06-11 08:24:55 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-06-11 08:25:21 -0700
commitef744119a7cbd0692c53704604e9bb6345c371b6 (patch)
tree92848a156ec24430787a27647bb598cc1b6df9d1 /lisp
parentc42c4e9c56794e6d658ee2164dd11cce2ee03d1a (diff)
downloademacs-ef744119a7cbd0692c53704604e9bb6345c371b6.tar.gz
Fix list-processes typo with thread-name
* lisp/simple.el (list-processes--refresh): Don’t assume thread-name succeeds (Bug#36163).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 6bc3bc5304c..5e9d13f9f86 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4102,7 +4102,8 @@ Also, delete any process that is exited or signaled."
(null (process-thread p))
(not (fboundp 'thread-name))) "--")
((eq (process-thread p) main-thread) "Main")
- ((thread-name (process-thread p)))))
+ ((thread-name (process-thread p)))
+ (t "--")))
(cmd
(if (memq type '(network serial))
(let ((contact (process-contact p t)))