aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno2015-04-11 16:01:18 +0900
committerDaiki Ueno2015-04-11 16:06:07 +0900
commit7c7b96eba0599d94ebf93032beb928cf2c043845 (patch)
treee7f8fe9957eb362e320190ab7990bc3220f312df
parent878058df46b593dd2afaad2086d8ff10bff367c2 (diff)
downloademacs-7c7b96eba0599d94ebf93032beb928cf2c043845.tar.gz
emacs-7c7b96eba0599d94ebf93032beb928cf2c043845.zip
Respect more keyword args in `make-process'
* process.c (Fmake_process): Respect `:sentinel' and `:filter' keywords as documented.
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 5319c6c9c47..3ffbbec544b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1483,8 +1483,8 @@ usage: (make-process &rest ARGS) */)
1483 pset_plist (XPROCESS (proc), Qnil); 1483 pset_plist (XPROCESS (proc), Qnil);
1484 pset_type (XPROCESS (proc), Qreal); 1484 pset_type (XPROCESS (proc), Qreal);
1485 pset_buffer (XPROCESS (proc), buffer); 1485 pset_buffer (XPROCESS (proc), buffer);
1486 pset_sentinel (XPROCESS (proc), Qinternal_default_process_sentinel); 1486 pset_sentinel (XPROCESS (proc), Fplist_get (contact, QCsentinel));
1487 pset_filter (XPROCESS (proc), Qinternal_default_process_filter); 1487 pset_filter (XPROCESS (proc), Fplist_get (contact, QCfilter));
1488 pset_command (XPROCESS (proc), Fcopy_sequence (command)); 1488 pset_command (XPROCESS (proc), Fcopy_sequence (command));
1489 1489
1490 if (tem = Fplist_get (contact, QCnoquery), !NILP (tem)) 1490 if (tem = Fplist_get (contact, QCnoquery), !NILP (tem))