Commit 19ed11ba authored by Andreas Schwab's avatar Andreas Schwab
Browse files

* src/callproc.c: Indentation fixup.

parent e7a6747f
2011-05-01 Andreas Schwab <schwab@linux-m68k.org>
* callproc.c: Indentation fixup.
* sysdep.c (wait_for_termination_1): Make static.
(wait_for_termination, interruptible_wait_for_termination): Move
after wait_for_termination_1.
......
......@@ -280,9 +280,9 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
/* If BUFFER is a list, its meaning is (BUFFER-FOR-STDOUT
FILE-FOR-STDERR), unless the first element is :file, in which case see
the next paragraph. */
if (CONSP (buffer) &&
(! SYMBOLP (XCAR (buffer)) ||
strcmp (SSDATA (SYMBOL_NAME (XCAR (buffer))), ":file")))
if (CONSP (buffer)
&& (! SYMBOLP (XCAR (buffer))
|| strcmp (SSDATA (SYMBOL_NAME (XCAR (buffer))), ":file")))
{
if (CONSP (XCDR (buffer)))
{
......@@ -299,9 +299,9 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
}
/* If the buffer is (still) a list, it might be a (:file "file") spec. */
if (CONSP (buffer) &&
SYMBOLP (XCAR (buffer)) &&
! strcmp (SSDATA (SYMBOL_NAME (XCAR (buffer))), ":file"))
if (CONSP (buffer)
&& SYMBOLP (XCAR (buffer))
&& ! strcmp (SSDATA (SYMBOL_NAME (XCAR (buffer))), ":file"))
{
output_file = Fexpand_file_name (XCAR (XCDR (buffer)),
BVAR (current_buffer, directory));
......@@ -780,8 +780,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
faithfully reflect inserted text until we
TEMP_SET_PT_BOTH below. */
specbind (Qinhibit_modification_hooks, Qt);
decode_coding_c_string (&process_coding, (unsigned char *) buf,
nread, curbuf);
decode_coding_c_string (&process_coding,
(unsigned char *) buf, nread, curbuf);
unbind_to (count1, Qnil);
if (display_on_the_fly
&& CODING_REQUIRE_DETECTION (&saved_coding)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment