Commit 95e6e62b authored by Michael Albinus's avatar Michael Albinus
Browse files

* errors.texi (Standard Errors): Fix typo.

* files.texi (Magic File Names):
* os.texi (File Notifications): Remove file-notify-supported-p.
parent 4c15c0f2
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
......
......@@ -126,7 +126,7 @@ This is a subcategory of @code{file-error}. @xref{Modification Time}.
@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
......
......@@ -2780,7 +2780,6 @@ first, before handlers for jobs such as remote file access.
@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},
......@@ -2834,7 +2833,6 @@ first, before handlers for jobs such as remote file access.
@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},
......
......@@ -2529,17 +2529,6 @@ Since all these libraries emit different events on notified file
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
......@@ -2553,6 +2542,10 @@ integer as in the example below. It should be used for comparison by
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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment