changeset 49229:a3af03912e6f

(Fset_process_plist): Fixed return value.
author Kim F. Storm <storm@cua.dk>
date Tue, 14 Jan 2003 13:36:14 +0000
parents ac42843384b3
children 6f94f884d68e
files src/process.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Jan 14 10:18:36 2003 +0000
+++ b/src/process.c	Tue Jan 14 13:36:14 2003 +0000
@@ -1049,7 +1049,7 @@
 
 DEFUN ("set-process-plist", Fset_process_plist, Sset_process_plist,
        2, 2, 0,
-       doc: /* Replace the plist of PROCESS with PLIST.  */)
+       doc: /* Replace the plist of PROCESS with PLIST.  Returns PLIST.  */)
      (process, plist)
      register Lisp_Object process, plist;
 {
@@ -1057,6 +1057,7 @@
   CHECK_LIST (plist);
 
   XPROCESS (process)->plist = plist;
+  return plist;
 }
 
 #if 0 /* Turned off because we don't currently record this info