Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
577d03d5
Commit
577d03d5
authored
Mar 17, 1993
by
Richard M. Stallman
Browse files
(Fprocess_send_eof): Make sure proc is running.
parent
f9155ea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/process.c
src/process.c
+7
-0
No files found.
src/process.c
View file @
577d03d5
...
...
@@ -2568,6 +2568,13 @@ nil, indicating the current buffer's process.")
Lisp_Object proc;
proc = get_process (process);
/* Make sure the process is really alive. */
if (! NILP (XPROCESS (proc)->raw_status_low))
update_status (XPROCESS (proc));
if (! EQ (XPROCESS (proc)->status, Qrun))
error ("Process %s not running", procname);
/* Sending a zero-length record is supposed to mean eof
when TIOCREMOTE is turned on. */
#ifdef DID_REMOTE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment