diff options
| author | Michael Albinus | 2017-03-23 17:07:55 +0100 |
|---|---|---|
| committer | Michael Albinus | 2017-03-23 17:07:55 +0100 |
| commit | aa0fb4fed8ef1f3599f573476fc6291f8872c7e7 (patch) | |
| tree | 46f9f5cc3a457f889ca236473b78bde7db172cbe | |
| parent | e6d3eaa69871d800eb078580b64f2bc5806a0fcc (diff) | |
| download | emacs-aa0fb4fed8ef1f3599f573476fc6291f8872c7e7.tar.gz emacs-aa0fb4fed8ef1f3599f573476fc6291f8872c7e7.zip | |
* doc/lispref/os.texi (File Notifications):
Strengthen the recommendation to use filenotify.el.
| -rw-r--r-- | doc/lispref/os.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 9b6752c5e1a..438f48c3471 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -2707,7 +2707,10 @@ This does not depend on one of the libraries linked to Emacs. | |||
| 2707 | 2707 | ||
| 2708 | Since all these libraries emit different events on notified file | 2708 | Since all these libraries emit different events on notified file |
| 2709 | changes, there is the Emacs library @code{filenotify} which provides a | 2709 | changes, there is the Emacs library @code{filenotify} which provides a |
| 2710 | unique interface. | 2710 | unified interface. Lisp programs that want to receive file |
| 2711 | notifications should always use this library in preference to the | ||
| 2712 | native ones. | ||
| 2713 | |||
| 2711 | 2714 | ||
| 2712 | @defun file-notify-add-watch file flags callback | 2715 | @defun file-notify-add-watch file flags callback |
| 2713 | Add a watch for filesystem events pertaining to @var{file}. This | 2716 | Add a watch for filesystem events pertaining to @var{file}. This |