diff options
| author | Eli Zaretskii | 2015-09-14 12:41:51 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-09-14 12:41:51 +0300 |
| commit | c387f5082380eb8242299d2864600d35ae5d0e8a (patch) | |
| tree | bfe42b17b313a77ea767eab1ed983d724f223a8d /src | |
| parent | f60fca1aa3256def9192021f95711cde6f65749e (diff) | |
| download | emacs-c387f5082380eb8242299d2864600d35ae5d0e8a.tar.gz emacs-c387f5082380eb8242299d2864600d35ae5d0e8a.zip | |
Improve the doc string of w32notify-valid-p
* src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
that removing a watch makes its object invalid.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32notify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32notify.c b/src/w32notify.c index efd9e56e105..a6b5c1908a1 100644 --- a/src/w32notify.c +++ b/src/w32notify.c | |||
| @@ -649,7 +649,8 @@ DEFUN ("w32notify-valid-p", Fw32notify_valid_p, Sw32notify_valid_p, 1, 1, 0, | |||
| 649 | WATCH-DESCRIPTOR should be an object returned by `w32notify-add-watch'. | 649 | WATCH-DESCRIPTOR should be an object returned by `w32notify-add-watch'. |
| 650 | 650 | ||
| 651 | A watch can become invalid if the directory it watches is deleted, or if | 651 | A watch can become invalid if the directory it watches is deleted, or if |
| 652 | the watcher thread exits abnormally for any other reason. */) | 652 | the watcher thread exits abnormally for any other reason. Removing the |
| 653 | watch by calling `w32notify-rm-watch' also makes it invalid. */) | ||
| 653 | (Lisp_Object watch_descriptor) | 654 | (Lisp_Object watch_descriptor) |
| 654 | { | 655 | { |
| 655 | Lisp_Object watch_object = Fassoc (watch_descriptor, watch_list); | 656 | Lisp_Object watch_object = Fassoc (watch_descriptor, watch_list); |