]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix coding style of last change
authorPo Lu <luangruo@yahoo.com>
Sun, 9 Jun 2024 01:10:57 +0000 (09:10 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Jun 2024 09:52:12 +0000 (11:52 +0200)
* src/process.c (read_and_insert_process_output)
(read_and_dispose_of_process_output): Fix coding style.

(cherry picked from commit f896c5e8cab3d2eaf46dca4bc4c16e3c58c4bfaa)

src/process.c

index fe4dcc531c22b32a466db79249eb67cae169bbf6..94aeac4d7da220ef6d4468475a792ff577614a0d 100644 (file)
@@ -6140,15 +6140,13 @@ read_process_output_error_handler (Lisp_Object error_val)
   return Qt;
 }
 
-static void
-read_and_dispose_of_process_output (struct Lisp_Process *p, char *chars,
-                                   ssize_t nbytes,
-                                   struct coding_system *coding);
+static void read_and_dispose_of_process_output (struct Lisp_Process *, char *,
+                                               ssize_t,
+                                               struct coding_system *);
 
-static void
-read_and_insert_process_output (struct Lisp_Process *p, char *buf,
-                                   ssize_t nread,
-                               struct coding_system *process_coding);
+static void read_and_insert_process_output (struct Lisp_Process *, char *,
+                                           ssize_t,
+                                           struct coding_system *);
 
 /* Read pending output from the process channel,
    starting with our buffered-ahead character if we have one.
@@ -6346,9 +6344,10 @@ read_process_output_after_insert (struct Lisp_Process *p, Lisp_Object *old_read_
   SET_PT_BOTH (opoint, opoint_byte);
 }
 
-static void read_and_insert_process_output (struct Lisp_Process *p, char *buf,
-                                   ssize_t nread,
-                                   struct coding_system *process_coding)
+static void
+read_and_insert_process_output (struct Lisp_Process *p, char *buf,
+                               ssize_t nread,
+                               struct coding_system *process_coding)
 {
   if (!nread || NILP (p->buffer) || !BUFFER_LIVE_P (XBUFFER (p->buffer)))
     return;
@@ -6359,10 +6358,11 @@ static void read_and_insert_process_output (struct Lisp_Process *p, char *buf,
   ptrdiff_t opoint, opoint_byte;
 
   read_process_output_before_insert (p, &old_read_only, &old_begv, &old_zv,
-                                    &before, &before_byte, &opoint, &opoint_byte);
+                                    &before, &before_byte, &opoint,
+                                    &opoint_byte);
 
   /* Adapted from call_process.  */
-  if (NILP (BVAR (XBUFFER(p->buffer), enable_multibyte_characters))
+  if (NILP (BVAR (XBUFFER (p->buffer), enable_multibyte_characters))
           && ! CODING_MAY_REQUIRE_DECODING (process_coding))
     {
       insert_1_both (buf, nread, nread, 0, 0, 0);