aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2015-09-16 16:23:55 -0700
committerPaul Eggert2015-09-16 16:26:07 -0700
commit032ce1c7d1afb23e6b1265d91c5a97e45de071ce (patch)
treedab9ca1e540c23aeb15ee9ef8fdc6b78e1929b6d /src/process.c
parent309d39b832ccd72f99cc726090ff03f7e146948d (diff)
downloademacs-032ce1c7d1afb23e6b1265d91c5a97e45de071ce.tar.gz
emacs-032ce1c7d1afb23e6b1265d91c5a97e45de071ce.zip
Omit unnecessary \ before paren in C docstrings
Although \( is needed in docstrings in Elisp code, it is not needed in docstrings in C code, since C function definitiions do not start with a parenthesis. The backslashes made the docstrings a bit harder to read and to format in columns. Also, some C docstrings had ( in column 1 and this did not appear to be causing any problems. So, simplify C docstrings by replacing \( with ( and \) with ).
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/process.c b/src/process.c
index ed5f4c0f07d..55f31a02673 100644
--- a/src/process.c
+++ b/src/process.c
@@ -957,7 +957,7 @@ DEFUN ("process-command", Fprocess_command, Sprocess_command, 1, 1, 0,
957This is a list of strings, the first string being the program executed 957This is a list of strings, the first string being the program executed
958and the rest of the strings being the arguments given to it. 958and the rest of the strings being the arguments given to it.
959For a network or serial process, this is nil (process is running) or t 959For a network or serial process, this is nil (process is running) or t
960\(process is stopped). */) 960(process is stopped). */)
961 (register Lisp_Object process) 961 (register Lisp_Object process)
962{ 962{
963 CHECK_PROCESS (process); 963 CHECK_PROCESS (process);
@@ -2674,7 +2674,7 @@ is not given or nil, 1 stopbit is used.
2674:flowcontrol FLOWCONTROL -- FLOWCONTROL determines the type of 2674:flowcontrol FLOWCONTROL -- FLOWCONTROL determines the type of
2675flowcontrol to be used, which is either nil (don't use flowcontrol), 2675flowcontrol to be used, which is either nil (don't use flowcontrol),
2676the symbol `hw' (use RTS/CTS hardware flowcontrol), or the symbol `sw' 2676the symbol `hw' (use RTS/CTS hardware flowcontrol), or the symbol `sw'
2677\(use XON/XOFF software flowcontrol). If FLOWCONTROL is not given, no 2677(use XON/XOFF software flowcontrol). If FLOWCONTROL is not given, no
2678flowcontrol is used. 2678flowcontrol is used.
2679 2679
2680`serial-process-configure' is called by `make-serial-process' for the 2680`serial-process-configure' is called by `make-serial-process' for the
@@ -2682,12 +2682,12 @@ initial configuration of the serial port.
2682 2682
2683Examples: 2683Examples:
2684 2684
2685\(serial-process-configure :process "/dev/ttyS0" :speed 1200) 2685(serial-process-configure :process "/dev/ttyS0" :speed 1200)
2686 2686
2687\(serial-process-configure 2687(serial-process-configure
2688 :buffer "COM1" :stopbits 1 :parity \\='odd :flowcontrol \\='hw) 2688 :buffer "COM1" :stopbits 1 :parity \\='odd :flowcontrol \\='hw)
2689 2689
2690\(serial-process-configure :port "\\\\.\\COM13" :bytesize 7) 2690(serial-process-configure :port "\\\\.\\COM13" :bytesize 7)
2691 2691
2692usage: (serial-process-configure &rest ARGS) */) 2692usage: (serial-process-configure &rest ARGS) */)
2693 (ptrdiff_t nargs, Lisp_Object *args) 2693 (ptrdiff_t nargs, Lisp_Object *args)
@@ -2781,13 +2781,13 @@ is available via the function `process-contact'.
2781 2781
2782Examples: 2782Examples:
2783 2783
2784\(make-serial-process :port "/dev/ttyS0" :speed 9600) 2784(make-serial-process :port "/dev/ttyS0" :speed 9600)
2785 2785
2786\(make-serial-process :port "COM1" :speed 115200 :stopbits 2) 2786(make-serial-process :port "COM1" :speed 115200 :stopbits 2)
2787 2787
2788\(make-serial-process :port "\\\\.\\COM13" :speed 1200 :bytesize 7 :parity \\='odd) 2788(make-serial-process :port "\\\\.\\COM13" :speed 1200 :bytesize 7 :parity \\='odd)
2789 2789
2790\(make-serial-process :port "/dev/tty.BlueConsole-SPP-1" :speed nil) 2790(make-serial-process :port "/dev/tty.BlueConsole-SPP-1" :speed nil)
2791 2791
2792usage: (make-serial-process &rest ARGS) */) 2792usage: (make-serial-process &rest ARGS) */)
2793 (ptrdiff_t nargs, Lisp_Object *args) 2793 (ptrdiff_t nargs, Lisp_Object *args)
@@ -7296,7 +7296,7 @@ DEFUN ("process-attributes", Fprocess_attributes,
7296 7296
7297Value is an alist where each element is a cons cell of the form 7297Value is an alist where each element is a cons cell of the form
7298 7298
7299 \(KEY . VALUE) 7299 (KEY . VALUE)
7300 7300
7301If this functionality is unsupported, the value is nil. 7301If this functionality is unsupported, the value is nil.
7302 7302