aboutsummaryrefslogtreecommitdiffstats
path: root/src/kqueue.c
diff options
context:
space:
mode:
authorPaul Eggert2016-03-10 07:34:52 -0800
committerPaul Eggert2016-03-10 07:59:19 -0800
commit7352c6c695db8b90b63c2601277d64a32507d2bb (patch)
tree1dc5f7af755a70f67efe13882099ff4920230571 /src/kqueue.c
parenta589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff)
downloademacs-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.c12
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
7GNU Emacs is free software: you can redistribute it and/or modify 7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by 8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or 9the Free Software Foundation, either version 3 of the License, or (at
10(at your option) any later version. 10your option) any later version.
11 11
12GNU Emacs is distributed in the hope that it will be useful, 12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of 13but 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. */
69static void 69static void
70kqueue_generate_event 70kqueue_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. */
111static void 110static void
112kqueue_compare_dir_list 111kqueue_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;