Doc fixes.

* lisp/filenotify.el (file-notify-add-watch): Refine doc string.

* doc/lispref/os.texi (File Notifications): Add an index.

* doc/lispref/loading.texi (Loading): Add an cross-reference.
This commit is contained in:
Xue Fuqiao 2013-11-19 17:47:02 +08:00
parent e0855d7de9
commit a6e3a5d5d5
6 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
* os.texi (File Notifications): Add an index.
* loading.texi (Loading): Add an cross-reference.
2013-11-18 Xue Fuqiao <xfq.free@gmail.com>
* os.texi (Session Management, Desktop Notifications): Add some

View file

@ -1663,6 +1663,8 @@ version of an existing file; saving a file preserves its existing
permissions.
@end defun
@c FIXME: The return value is decimal? Octal? We should explain it
@c further. --xfq
@defun default-file-modes
This function returns the default file permissions, as an integer.
@end defun

View file

@ -29,6 +29,8 @@ into a buffer and evaluated there. (Indeed, most code is tested this
way.) Most often, the forms are function definitions and variable
definitions.
For on-demand loading of external libraries, @pxref{Dynamic Libraries}.
@menu
* How Programs Do Loading:: The @code{load} function and others.
* Load Suffixes:: Details about the suffixes that @code{load} tries.

View file

@ -2526,6 +2526,7 @@ specification prior to @samp{"1.0"}.
@node File Notifications
@section Notifications on File Changes
@cindex file notifications
@cindex watch, for filesystem events
Several operating systems support watching of filesystems for changes
of files. If configured properly, Emacs links a respective library

View file

@ -1,3 +1,7 @@
2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
* filenotify.el (file-notify-add-watch): Doc fix.
2013-11-19 Leo Liu <sdl.web@gmail.com>
* obsolete/rcompile.el: Mark obsolete.

View file

@ -207,7 +207,7 @@ include the following symbols:
permissions or modification time
If FILE is a directory, 'change' watches for file creation or
deletion in that directory.
deletion in that directory. This does not work recursively.
When any event happens, Emacs will call the CALLBACK function passing
it a single argument EVENT, which is of the form