Do not assume --with-file-notification
* src/fileio.c (report_file_notify_error) [!USE_FILE_NOTIFY]: Omit.
This commit is contained in:
parent
6f66a43d7a
commit
6c48146f46
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue