summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-03-30 14:25:33 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-03-30 14:26:26 -0700
commit6c48146f46a443b1e11b58c52dd8f2e5d9feb21c (patch)
tree724f5ee38d23279776c2a5956c31338b4a617b91 /src/fileio.c
parent6f66a43d7ad6cada2b7dbb6d07efe36be1dc7ecb (diff)
downloademacs-6c48146f46a443b1e11b58c52dd8f2e5d9feb21c.tar.gz
emacs-6c48146f46a443b1e11b58c52dd8f2e5d9feb21c.tar.bz2
emacs-6c48146f46a443b1e11b58c52dd8f2e5d9feb21c.zip
Do not assume --with-file-notification
* src/fileio.c (report_file_notify_error) [!USE_FILE_NOTIFY]: Omit.
Diffstat (limited to 'src/fileio.c')
-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)
report_file_errno (string, name, errno);
}
+#ifdef USE_FILE_NOTIFY
/* Like report_file_error, but reports a file-notify-error instead. */
void
@@ -238,6 +239,7 @@ report_file_notify_error (const char *string, Lisp_Object name)
xsignal (Qfile_notify_error, Fcons (build_string (string), errdata));
}
+#endif
void
close_file_unwind (int fd)