diff options
| author | Paul Eggert | 2016-03-10 07:34:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-03-10 07:59:19 -0800 |
| commit | 7352c6c695db8b90b63c2601277d64a32507d2bb (patch) | |
| tree | 1dc5f7af755a70f67efe13882099ff4920230571 /src/process.c | |
| parent | a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff) | |
| download | emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.tar.gz emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.zip | |
Rework C source files to avoid ^(
Work around Bug#22884 by rewording comments and strings to avoid ‘(’
at the start of a line unless it starts a function. This change
is a short-term hack; in the longer run we plan to fix cc-mode’s
performance for C files that have ‘(’ at the start of a line in a
comment or string.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/process.c b/src/process.c index 1eac5e12663..dd508836f79 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7,8 +7,8 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software: you can redistribute it and/or modify | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 11 | (at your option) any later version. | 11 | your option) any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -953,7 +953,7 @@ DEFUN ("process-command", Fprocess_command, Sprocess_command, 1, 1, 0, | |||
| 953 | This is a list of strings, the first string being the program executed | 953 | This is a list of strings, the first string being the program executed |
| 954 | and the rest of the strings being the arguments given to it. | 954 | and the rest of the strings being the arguments given to it. |
| 955 | For a network or serial process, this is nil (process is running) or t | 955 | For a network or serial process, this is nil (process is running) or t |
| 956 | (process is stopped). */) | 956 | \(process is stopped). */) |
| 957 | (register Lisp_Object process) | 957 | (register Lisp_Object process) |
| 958 | { | 958 | { |
| 959 | CHECK_PROCESS (process); | 959 | CHECK_PROCESS (process); |
| @@ -2670,7 +2670,7 @@ is not given or nil, 1 stopbit is used. | |||
| 2670 | :flowcontrol FLOWCONTROL -- FLOWCONTROL determines the type of | 2670 | :flowcontrol FLOWCONTROL -- FLOWCONTROL determines the type of |
| 2671 | flowcontrol to be used, which is either nil (don't use flowcontrol), | 2671 | flowcontrol to be used, which is either nil (don't use flowcontrol), |
| 2672 | the symbol `hw' (use RTS/CTS hardware flowcontrol), or the symbol `sw' | 2672 | the symbol `hw' (use RTS/CTS hardware flowcontrol), or the symbol `sw' |
| 2673 | (use XON/XOFF software flowcontrol). If FLOWCONTROL is not given, no | 2673 | \(use XON/XOFF software flowcontrol). If FLOWCONTROL is not given, no |
| 2674 | flowcontrol is used. | 2674 | flowcontrol is used. |
| 2675 | 2675 | ||
| 2676 | `serial-process-configure' is called by `make-serial-process' for the | 2676 | `serial-process-configure' is called by `make-serial-process' for the |
| @@ -2678,12 +2678,12 @@ initial configuration of the serial port. | |||
| 2678 | 2678 | ||
| 2679 | Examples: | 2679 | Examples: |
| 2680 | 2680 | ||
| 2681 | (serial-process-configure :process "/dev/ttyS0" :speed 1200) | 2681 | \(serial-process-configure :process "/dev/ttyS0" :speed 1200) |
| 2682 | 2682 | ||
| 2683 | (serial-process-configure | 2683 | \(serial-process-configure |
| 2684 | :buffer "COM1" :stopbits 1 :parity \\='odd :flowcontrol \\='hw) | 2684 | :buffer "COM1" :stopbits 1 :parity \\='odd :flowcontrol \\='hw) |
| 2685 | 2685 | ||
| 2686 | (serial-process-configure :port "\\\\.\\COM13" :bytesize 7) | 2686 | \(serial-process-configure :port "\\\\.\\COM13" :bytesize 7) |
| 2687 | 2687 | ||
| 2688 | usage: (serial-process-configure &rest ARGS) */) | 2688 | usage: (serial-process-configure &rest ARGS) */) |
| 2689 | (ptrdiff_t nargs, Lisp_Object *args) | 2689 | (ptrdiff_t nargs, Lisp_Object *args) |
| @@ -2777,13 +2777,13 @@ is available via the function `process-contact'. | |||
| 2777 | 2777 | ||
| 2778 | Examples: | 2778 | Examples: |
| 2779 | 2779 | ||
| 2780 | (make-serial-process :port "/dev/ttyS0" :speed 9600) | 2780 | \(make-serial-process :port "/dev/ttyS0" :speed 9600) |
| 2781 | 2781 | ||
| 2782 | (make-serial-process :port "COM1" :speed 115200 :stopbits 2) | 2782 | \(make-serial-process :port "COM1" :speed 115200 :stopbits 2) |
| 2783 | 2783 | ||
| 2784 | (make-serial-process :port "\\\\.\\COM13" :speed 1200 :bytesize 7 :parity \\='odd) | 2784 | \(make-serial-process :port "\\\\.\\COM13" :speed 1200 :bytesize 7 :parity \\='odd) |
| 2785 | 2785 | ||
| 2786 | (make-serial-process :port "/dev/tty.BlueConsole-SPP-1" :speed nil) | 2786 | \(make-serial-process :port "/dev/tty.BlueConsole-SPP-1" :speed nil) |
| 2787 | 2787 | ||
| 2788 | usage: (make-serial-process &rest ARGS) */) | 2788 | usage: (make-serial-process &rest ARGS) */) |
| 2789 | (ptrdiff_t nargs, Lisp_Object *args) | 2789 | (ptrdiff_t nargs, Lisp_Object *args) |