comparison doc/lispref/processes.texi @ 99195:524aa1296742

(Process Information): Note that process-status does not accept buffer names.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 28 Oct 2008 20:16:18 +0000
parents 4660d5e01148
children 2b9c924c3d42
comparison
equal deleted inserted replaced
99194:0b187bd43544 99195:524aa1296742
789 This function returns the name of @var{process}. 789 This function returns the name of @var{process}.
790 @end defun 790 @end defun
791 791
792 @defun process-status process-name 792 @defun process-status process-name
793 This function returns the status of @var{process-name} as a symbol. 793 This function returns the status of @var{process-name} as a symbol.
794 The argument @var{process-name} must be a process, a buffer, a 794 The argument @var{process-name} must be a process, a buffer, or a
795 process name (string) or a buffer name (string). 795 process name (a string).
796 796
797 The possible values for an actual subprocess are: 797 The possible values for an actual subprocess are:
798 798
799 @table @code 799 @table @code
800 @item run 800 @item run
820 @item nil 820 @item nil
821 if @var{process-name} is not the name of an existing process. 821 if @var{process-name} is not the name of an existing process.
822 @end table 822 @end table
823 823
824 @smallexample 824 @smallexample
825 @group
826 (process-status "shell")
827 @result{} run
828 @end group
829 @group 825 @group
830 (process-status (get-buffer "*shell*")) 826 (process-status (get-buffer "*shell*"))
831 @result{} run 827 @result{} run
832 @end group 828 @end group
833 @group 829 @group