aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPip Cet2019-06-11 08:24:55 -0700
committerPaul Eggert2019-06-11 08:25:21 -0700
commitef744119a7cbd0692c53704604e9bb6345c371b6 (patch)
tree92848a156ec24430787a27647bb598cc1b6df9d1
parentc42c4e9c56794e6d658ee2164dd11cce2ee03d1a (diff)
downloademacs-ef744119a7cbd0692c53704604e9bb6345c371b6.tar.gz
emacs-ef744119a7cbd0692c53704604e9bb6345c371b6.zip
Fix list-processes typo with thread-name
* lisp/simple.el (list-processes--refresh): Don’t assume thread-name succeeds (Bug#36163).
-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."
4102 (null (process-thread p)) 4102 (null (process-thread p))
4103 (not (fboundp 'thread-name))) "--") 4103 (not (fboundp 'thread-name))) "--")
4104 ((eq (process-thread p) main-thread) "Main") 4104 ((eq (process-thread p) main-thread) "Main")
4105 ((thread-name (process-thread p))))) 4105 ((thread-name (process-thread p)))
4106 (t "--")))
4106 (cmd 4107 (cmd
4107 (if (memq type '(network serial)) 4108 (if (memq type '(network serial))
4108 (let ((contact (process-contact p t))) 4109 (let ((contact (process-contact p t)))