[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6c48146 3/3: Do not assume --with-file-notification
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 6c48146 3/3: Do not assume --with-file-notification |
Date: |
Fri, 30 Mar 2018 17:26:33 -0400 (EDT) |
branch: master
commit 6c48146f46a443b1e11b58c52dd8f2e5d9feb21c
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Do not assume --with-file-notification
* src/fileio.c (report_file_notify_error) [!USE_FILE_NOTIFY]: Omit.
---
src/fileio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/fileio.c b/src/fileio.c
index 52ca8b6..2f8358f 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)