diff options
| author | Paul Eggert | 2018-03-30 14:25:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-03-30 14:26:26 -0700 |
| commit | 6c48146f46a443b1e11b58c52dd8f2e5d9feb21c (patch) | |
| tree | 724f5ee38d23279776c2a5956c31338b4a617b91 /src | |
| parent | 6f66a43d7ad6cada2b7dbb6d07efe36be1dc7ecb (diff) | |
| download | emacs-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.c | 2 |
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 | ||
| 229 | void | 230 | void |
| @@ -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 | ||
| 242 | void | 244 | void |
| 243 | close_file_unwind (int fd) | 245 | close_file_unwind (int fd) |