aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-22 19:38:51 +0000
committerRichard M. Stallman1993-07-22 19:38:51 +0000
commit312c9964678f05111d577958e661f5be06f4643a (patch)
tree154f714210d17baae58d0fe46ff23a307f2da4ab /src/process.c
parentf7a009a5c4708329b2aac04b156822353ce6a186 (diff)
downloademacs-312c9964678f05111d577958e661f5be06f4643a.tar.gz
emacs-312c9964678f05111d577958e661f5be06f4643a.zip
(Fget_buffer_process): Delete doc string from
second alternative definition.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c30
1 files changed, 17 insertions, 13 deletions
diff --git a/src/process.c b/src/process.c
index e5e77a6f9b0..2d81b9adc63 100644
--- a/src/process.c
+++ b/src/process.c
@@ -807,6 +807,19 @@ Value is t if a query was formerly required.")
807 807
808 return Fnull (tem); 808 return Fnull (tem);
809} 809}
810
811#if 0 /* Turned off because we don't currently record this info
812 in the process. Perhaps add it. */
813DEFUN ("process-connection", Fprocess_connection, Sprocess_connection, 1, 1, 0,
814 "Return the connection type of `PROCESS'.\n\
815The value is `nil' for a pipe,\n\
816`t' or `pty' for a pty, or `stream' for a socket connection.")
817 (process)
818 Lisp_Object process;
819{
820 return XPROCESS (process)->type;
821}
822#endif
810 823
811Lisp_Object 824Lisp_Object
812list_processes_1 () 825list_processes_1 ()
@@ -2985,16 +2998,7 @@ init_process ()
2985 proc_buffered_char[i] = -1; 2998 proc_buffered_char[i] = -1;
2986 } 2999 }
2987} 3000}
2988#if 0 3001
2989DEFUN ("process-connection", Fprocess_connection, Sprocess_connection, 0, 1, 0,
2990 "Return the connection type of `PROCESS'. This can be nil (pipe),\n\
2991t or pty (pty) or stream (socket connection).")
2992 (process)
2993 Lisp_Object process;
2994{
2995 return XPROCESS (process)->type;
2996}
2997#endif
2998syms_of_process () 3002syms_of_process ()
2999{ 3003{
3000#ifdef HAVE_SOCKETS 3004#ifdef HAVE_SOCKETS
@@ -3211,9 +3215,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
3211 3215
3212 3216
3213DEFUN ("get-buffer-process", Fget_buffer_process, Sget_buffer_process, 1, 1, 0, 3217DEFUN ("get-buffer-process", Fget_buffer_process, Sget_buffer_process, 1, 1, 0,
3214 "Return the (or, a) process associated with BUFFER.\n\ 3218 /* Don't confused make-docfile by having two doc strings for this function.
3215This copy of Emacs has not been built to support subprocesses, so this\n\ 3219 make-docfile does not pay attention to #if, for good reason! */
3216function always returns nil.") 3220 0)
3217 (name) 3221 (name)
3218 register Lisp_Object name; 3222 register Lisp_Object name;
3219{ 3223{