+2013-07-24 Michael Albinus <michael.albinus@gmx.de>
+
+ * errors.texi (Standard Errors): Fix typo.
+
+ * files.texi (Magic File Names):
+ * os.texi (File Notifications): Remove file-notify-supported-p.
+
2013-07-24 Paul Eggert <eggert@cs.ucla.edu>
* eval.texi (Special Forms): Mention 'lambda'. Also, say that
@c filenotify.el
@item file-notify-error
This is a subcategory of @code{file-error}. It happens, when a file
-could not be set to be watched for changes. @xref{File Notifications}.
+could not be watched for changes. @xref{File Notifications}.
@c net/ange-ftp.el
@item ftp-error
@code{file-name-nondirectory},
@code{file-name-sans-versions}, @code{file-newer-than-file-p},
@code{file-notify-add-watch}, @code{file-notify-rm-watch},
-@code{file-notify-supported-p},
@code{file-ownership-preserved-p},
@code{file-readable-p}, @code{file-regular-p},
@code{file-remote-p}, @code{file-selinux-context},
@code{file-name-nondirec@discretionary{}{}{}tory},
@code{file-name-sans-versions}, @code{file-newer-than-file-p},
@code{file-notify-add-watch}, @code{file-notify-rm-watch},
-@code{file-notify-supported-p},
@code{file-ownership-pre@discretionary{}{}{}served-p},
@code{file-readable-p}, @code{file-regular-p},
@code{file-remote-p}, @code{file-selinux-context},
changes, there is the Emacs library @code{filenotify} which provides a
unique interface.
-@defun file-notify-supported-p file
-This function returns non-nil if the filesystem pertaining to
-@var{file} could be watched. This means, that Emacs is linked with a
-respective library (for local files), or Emacs has found an applicable
-file notification process on a remote machine.
-
-Sometimes, mounted filesystems cannot be watched for file changes.
-This is not detected by this function, a non-@code{nil} return value
-does not guarantee that changes on @var{file} will be notified.
-@end defun
-
@defun file-notify-add-watch file flags callback
Add a watch for filesystem events pertaining to @var{file}. This
arranges for filesystem events pertaining to @var{file} to be reported
If the @var{file} cannot be watched for some reason, this function
signals a @code{file-notify-error} error.
+Sometimes, mounted filesystems cannot be watched for file changes.
+This is not detected by this function, a non-@code{nil} return value
+does not guarantee that changes on @var{file} will be notified.
+
@var{flags} is a list of conditions to set what will be watched for.
It can include the following symbols: