aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-11-14 22:10:35 -0800
committerDan Nicolaescu2010-11-14 22:10:35 -0800
commit12e610e89e2a3ae9de569e12a57d310102952ce6 (patch)
treeb946605e1027b2a7c76e89cf7aab0abb962721e5 /src/callproc.c
parent92d3ab7e328831b39967bd92ad51c123a66756ce (diff)
downloademacs-12e610e89e2a3ae9de569e12a57d310102952ce6.tar.gz
emacs-12e610e89e2a3ae9de569e12a57d310102952ce6.zip
Clean up src/systty.h macros.
* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY) (EMACS_SET_TTY): Remove unneeded abstraction, instead inline the definition in all uses. (EMACS_TTY_TABS_OK): Remove, it has a single user. * src/sysdep.c (discard_tty_input, child_setup_tty) (init_sys_modes, tabs_safe_p, reset_sys_modes): * src/emacs.c (shut_down_emacs): * src/callproc.c (child_setup): * src/term.c (dissociate_if_controlling_tty): Inline removed macros.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/callproc.c b/src/callproc.c
index ee0872b5562..5941f8180ff 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1221,7 +1221,7 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
1221 return cpid; 1221 return cpid;
1222#else /* not WINDOWSNT */ 1222#else /* not WINDOWSNT */
1223 /* setpgrp_of_tty is incorrect here; it uses input_fd. */ 1223 /* setpgrp_of_tty is incorrect here; it uses input_fd. */
1224 EMACS_SET_TTY_PGRP (0, &pid); 1224 tcsetpgrp (0, pid);
1225 1225
1226 /* execvp does not accept an environment arg so the only way 1226 /* execvp does not accept an environment arg so the only way
1227 to pass this environment is to set environ. Our caller 1227 to pass this environment is to set environ. Our caller
@@ -1609,5 +1609,3 @@ See `setenv' and `getenv'. */);
1609 defsubr (&Scall_process_region); 1609 defsubr (&Scall_process_region);
1610} 1610}
1611 1611
1612/* arch-tag: 769b8045-1df7-4d2b-8968-e3fb49017f95
1613 (do not change this comment) */