Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d8cd7742
Commit
d8cd7742
authored
Jan 25, 2013
by
Eli Zaretskii
Browse files
Update doc string of w32notify-add-watch per discussions in bug #13540.
src/w32notify.c (Fw32notify_add_watch): Doc fix.
parent
266fee4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
src/ChangeLog
src/ChangeLog
+4
-0
src/w32notify.c
src/w32notify.c
+9
-3
No files found.
src/ChangeLog
View file @
d8cd7742
2013-01-25 Eli Zaretskii <eliz@gnu.org>
* w32notify.c (Fw32notify_add_watch): Doc fix. (Bug#13540)
2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
* font.c (num_fonts): Remove the leftover from old
...
...
src/w32notify.c
View file @
d8cd7742
...
...
@@ -442,8 +442,8 @@ DEFUN ("w32notify-add-watch", Fw32notify_add_watch,
This arranges for filesystem events pertaining to FILE to be reported
to Emacs. Use `w32notify-rm-watch' to cancel the watch.
Value is a descriptor for the added watch
, or nil if the fil
e
cannot be watched
.
Value is a descriptor for the added watch
. If the file cannot b
e
watched for some reason, this function signals a `file-error' error
.
FILTER is a list of conditions for reporting an event. It can include
the following symbols:
...
...
@@ -476,7 +476,13 @@ ACTION is the description of the event. It could be any one of the
'renamed-from' -- a file was renamed whose old name was FILE
'renamed-to' -- a file was renamed and its new name is FILE
FILE is the name of the file whose event is being reported. */
)
FILE is the name of the file whose event is being reported.
Note that some networked filesystems, such as Samba-mounted Unix
volumes, might not send notifications about file changes. In these
cases, this function will return a valid descriptor, but notifications
will never come in. Volumes shared from remote Windows machines do
generate notifications correctly, though. */
)
(
Lisp_Object
file
,
Lisp_Object
filter
,
Lisp_Object
callback
)
{
Lisp_Object
encoded_file
,
watch_object
,
watch_descriptor
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment