]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix list-processes typo with thread-name
authorPip Cet <pipcet@gmail.com>
Tue, 11 Jun 2019 15:24:55 +0000 (08:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Jun 2019 15:25:21 +0000 (08:25 -0700)
* lisp/simple.el (list-processes--refresh):
Don’t assume thread-name succeeds (Bug#36163).

lisp/simple.el

index 6bc3bc5304c8d1f84e63ba99696f02a5aacdbe92..5e9d13f9f8663ff7c7054dd82592029863260d24 100644 (file)
@@ -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)))