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/kqueue.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/kqueue.c')
| -rw-r--r-- | src/kqueue.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/kqueue.c b/src/kqueue.c index a69d06da3ae..c848b7ff1af 100644 --- a/src/kqueue.c +++ b/src/kqueue.c | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -67,9 +67,8 @@ kqueue_directory_listing (Lisp_Object directory_files) | |||
| 67 | 67 | ||
| 68 | /* Generate a file notification event. */ | 68 | /* Generate a file notification event. */ |
| 69 | static void | 69 | static void |
| 70 | kqueue_generate_event | 70 | kqueue_generate_event (Lisp_Object watch_object, Lisp_Object actions, |
| 71 | (Lisp_Object watch_object, Lisp_Object actions, | 71 | Lisp_Object file, Lisp_Object file1) |
| 72 | Lisp_Object file, Lisp_Object file1) | ||
| 73 | { | 72 | { |
| 74 | Lisp_Object flags, action, entry; | 73 | Lisp_Object flags, action, entry; |
| 75 | struct input_event event; | 74 | struct input_event event; |
| @@ -109,8 +108,7 @@ kqueue_generate_event | |||
| 109 | replaced by the new directory listing at the end of this | 108 | replaced by the new directory listing at the end of this |
| 110 | function. */ | 109 | function. */ |
| 111 | static void | 110 | static void |
| 112 | kqueue_compare_dir_list | 111 | kqueue_compare_dir_list (Lisp_Object watch_object) |
| 113 | (Lisp_Object watch_object) | ||
| 114 | { | 112 | { |
| 115 | Lisp_Object dir, pending_dl, deleted_dl; | 113 | Lisp_Object dir, pending_dl, deleted_dl; |
| 116 | Lisp_Object old_directory_files, old_dl, new_directory_files, new_dl, dl; | 114 | Lisp_Object old_directory_files, old_dl, new_directory_files, new_dl, dl; |