comparison src/process.c @ 6830:bcaddbe53068

(Fset_process_window_size): New function.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Apr 1994 15:11:58 +0000
parents e0680426ff8e
children a2f4fd22e71f
comparison
equal deleted inserted replaced
6829:684201f9fa7f 6830:bcaddbe53068
771 (proc) 771 (proc)
772 register Lisp_Object proc; 772 register Lisp_Object proc;
773 { 773 {
774 CHECK_PROCESS (proc, 0); 774 CHECK_PROCESS (proc, 0);
775 return XPROCESS (proc)->sentinel; 775 return XPROCESS (proc)->sentinel;
776 }
777
778 DEFUN ("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;
776 } 792 }
777 793
778 DEFUN ("process-kill-without-query", Fprocess_kill_without_query, 794 DEFUN ("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\
3147 defsubr (&Sprocess_buffer); 3163 defsubr (&Sprocess_buffer);
3148 defsubr (&Sprocess_mark); 3164 defsubr (&Sprocess_mark);
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);
3155 defsubr (&Sprocess_list); 3172 defsubr (&Sprocess_list);
3156 defsubr (&Sstart_process); 3173 defsubr (&Sstart_process);