emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7c7b96e: Respect more keyword args in `make-process


From: Daiki Ueno
Subject: [Emacs-diffs] master 7c7b96e: Respect more keyword args in `make-process'
Date: Sat, 11 Apr 2015 07:06:35 +0000

branch: master
commit 7c7b96eba0599d94ebf93032beb928cf2c043845
Author: Daiki Ueno <address@hidden>
Commit: Daiki Ueno <address@hidden>

    Respect more keyword args in `make-process'
    
    * process.c (Fmake_process): Respect `:sentinel' and `:filter'
    keywords as documented.
---
 src/process.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/process.c b/src/process.c
index 5319c6c..3ffbbec 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1483,8 +1483,8 @@ usage: (make-process &rest ARGS)  */)
   pset_plist (XPROCESS (proc), Qnil);
   pset_type (XPROCESS (proc), Qreal);
   pset_buffer (XPROCESS (proc), buffer);
-  pset_sentinel (XPROCESS (proc), Qinternal_default_process_sentinel);
-  pset_filter (XPROCESS (proc), Qinternal_default_process_filter);
+  pset_sentinel (XPROCESS (proc), Fplist_get (contact, QCsentinel));
+  pset_filter (XPROCESS (proc), Fplist_get (contact, QCfilter));
   pset_command (XPROCESS (proc), Fcopy_sequence (command));
 
   if (tem = Fplist_get (contact, QCnoquery), !NILP (tem))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]