aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2018-03-30 14:25:33 -0700
committerPaul Eggert2018-03-30 14:26:26 -0700
commit6c48146f46a443b1e11b58c52dd8f2e5d9feb21c (patch)
tree724f5ee38d23279776c2a5956c31338b4a617b91 /src
parent6f66a43d7ad6cada2b7dbb6d07efe36be1dc7ecb (diff)
downloademacs-6c48146f46a443b1e11b58c52dd8f2e5d9feb21c.tar.gz
emacs-6c48146f46a443b1e11b58c52dd8f2e5d9feb21c.zip
Do not assume --with-file-notification
* src/fileio.c (report_file_notify_error) [!USE_FILE_NOTIFY]: Omit.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 52ca8b6297e..2f8358f01b5 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -224,6 +224,7 @@ report_file_error (char const *string, Lisp_Object name)
224 report_file_errno (string, name, errno); 224 report_file_errno (string, name, errno);
225} 225}
226 226
227#ifdef USE_FILE_NOTIFY
227/* Like report_file_error, but reports a file-notify-error instead. */ 228/* Like report_file_error, but reports a file-notify-error instead. */
228 229
229void 230void
@@ -238,6 +239,7 @@ report_file_notify_error (const char *string, Lisp_Object name)
238 239
239 xsignal (Qfile_notify_error, Fcons (build_string (string), errdata)); 240 xsignal (Qfile_notify_error, Fcons (build_string (string), errdata));
240} 241}
242#endif
241 243
242void 244void
243close_file_unwind (int fd) 245close_file_unwind (int fd)