aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-12 15:11:58 +0000
committerRichard M. Stallman1994-04-12 15:11:58 +0000
commit396df3227db7c12d0c29b029196ca75bc069d3ee (patch)
tree57e99d84954be995309a46147520ee25fd6dcf4e /src/process.c
parent73d5358fb91d80ebe3cb39d5193c3ed5f335165a (diff)
downloademacs-396df3227db7c12d0c29b029196ca75bc069d3ee.tar.gz
emacs-396df3227db7c12d0c29b029196ca75bc069d3ee.zip
(Fset_process_window_size): New function.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 971d2cba71b..cae87bfcf1e 100644
--- a/src/process.c
+++ b/src/process.c
@@ -775,6 +775,22 @@ See `set-process-sentinel' for more info on sentinels.")
775 return XPROCESS (proc)->sentinel; 775 return XPROCESS (proc)->sentinel;
776} 776}
777 777
778DEFUN ("set-process-window-size", Fset_process_window_size,
779 Sset_process_window_size, 3, 3, 0,
780 "Tell PROCESS that it has logical window size HEIGHT and WIDTH.")
781 (proc, height, width)
782 register Lisp_Object proc, height, width;
783{
784 CHECK_PROCESS (proc, 0);
785 CHECK_NATNUM (height, 0);
786 CHECK_NATNUM (width, 0);
787 if (set_window_size (XINT (XPROCESS (proc)->infd),
788 XINT (height), XINT(width)) <= 0)
789 return Qnil;
790 else
791 return Qt;
792}
793
778DEFUN ("process-kill-without-query", Fprocess_kill_without_query, 794DEFUN ("process-kill-without-query", Fprocess_kill_without_query,
779 Sprocess_kill_without_query, 1, 2, 0, 795 Sprocess_kill_without_query, 1, 2, 0,
780 "Say no query needed if PROCESS is running when Emacs is exited.\n\ 796 "Say no query needed if PROCESS is running when Emacs is exited.\n\
@@ -3149,6 +3165,7 @@ effect when `start-process' is called.");
3149 defsubr (&Sset_process_filter); 3165 defsubr (&Sset_process_filter);
3150 defsubr (&Sprocess_filter); 3166 defsubr (&Sprocess_filter);
3151 defsubr (&Sset_process_sentinel); 3167 defsubr (&Sset_process_sentinel);
3168 defsubr (&Sset_process_window_size);
3152 defsubr (&Sprocess_sentinel); 3169 defsubr (&Sprocess_sentinel);
3153 defsubr (&Sprocess_kill_without_query); 3170 defsubr (&Sprocess_kill_without_query);
3154 defsubr (&Slist_processes); 3171 defsubr (&Slist_processes);