aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorGlenn Morris2018-07-13 09:28:15 -0700
committerGlenn Morris2018-07-13 09:28:15 -0700
commitcda7e1850f2f19a5025fd163ff2c6c6cba275acf (patch)
tree1fdb0014a632e936da813128ead6353051436cbd /src/process.c
parent1013e0392b78ee0e2199fb51859dc9e939315f9b (diff)
parent17ebb6e5ae9cdd2586d1b4d6f2347ae09c6f653f (diff)
downloademacs-cda7e1850f2f19a5025fd163ff2c6c6cba275acf.tar.gz
emacs-cda7e1850f2f19a5025fd163ff2c6c6cba275acf.zip
Merge from origin/emacs-26
17ebb6e (origin/emacs-26) Use consistent function names in thread-tes... 1c86229 Fix format error in Faccept_process_output b38b91a Lessen stack consumption in recursive read1 3eb4603 Match w32 paths in grep sans --null hits (Bug#32051) 5cc7c4b Fix previous make-network-process change d6a1b69 Another documentation improvement in flyspell.el 9b49a8e Improve documentation of Flyspell 3744fda Provide feature 'threads ef9025f Save the server alias on reconnect (Bug#29657) db3874b Refer to "proper lists" instead of "true lists" 35e0305 Avoid turning on the global-minor-mode recursively 51bf4e4 Fix Bug#32085
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/process.c b/src/process.c
index 5bd8c255a26..3fccd962da6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3905,7 +3905,7 @@ usage: (make-network-process &rest ARGS) */)
3905 CHECK_STRING (name); 3905 CHECK_STRING (name);
3906 3906
3907 /* :local ADDRESS or :remote ADDRESS */ 3907 /* :local ADDRESS or :remote ADDRESS */
3908 if (!NILP (server)) 3908 if (NILP (server))
3909 address = Fplist_get (contact, QCremote); 3909 address = Fplist_get (contact, QCremote);
3910 else 3910 else
3911 address = Fplist_get (contact, QClocal); 3911 address = Fplist_get (contact, QClocal);
@@ -4612,12 +4612,11 @@ is nil, from any process) before the timeout expired. */)
4612 { 4612 {
4613 Lisp_Object proc_thread_name = XTHREAD (proc->thread)->name; 4613 Lisp_Object proc_thread_name = XTHREAD (proc->thread)->name;
4614 4614
4615 if (STRINGP (proc_thread_name)) 4615 error ("Attempt to accept output from process %s locked to thread %s",
4616 error ("Attempt to accept output from process %s locked to thread %s", 4616 SDATA (proc->name),
4617 SDATA (proc->name), SDATA (proc_thread_name)); 4617 STRINGP (proc_thread_name)
4618 else 4618 ? SDATA (proc_thread_name)
4619 error ("Attempt to accept output from process %s locked to thread %p", 4619 : SDATA (Fprin1_to_string (proc->thread, Qt)));
4620 SDATA (proc->name), XTHREAD (proc->thread));
4621 } 4620 }
4622 } 4621 }
4623 else 4622 else