aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRĂ¼diger Sonderfeld2012-12-10 06:17:21 -0500
committerEli Zaretskii2012-12-10 06:17:21 -0500
commit81606b10501169a5671061b8461bbc32dcec8705 (patch)
tree6dadb650dc1950fbb1e5d4cf6f0c8d18588e6787 /etc
parent265c2fbf11cb8bf9b805df63ecb9508631f08e35 (diff)
downloademacs-81606b10501169a5671061b8461bbc32dcec8705.tar.gz
emacs-81606b10501169a5671061b8461bbc32dcec8705.zip
Support filesystem notification through inotify on GNU/Linux.
configure.ac (inotify): New option. (HAVE_INOTIFY): Test for inotify. src/termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add FILE_NOTIFY_EVENT. src/lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype. src/keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable. (syms_of_keyboard): DEFSYM it. (kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT. (make_lispy_event): Support FILE_NOTIFY_EVENT by generating Qfile_inotify events. (keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in special-event-map to inotify-handle-event. src/emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify. src/Makefile.in (base_obj): Add inotify.o. src/inotify.c: New file. lisp/subr.el (inotify-event-p, inotify-handle-event): New functions. test/automated/inotify-test.el: New test.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c7622b09b6b..f04dcea2bde 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -133,6 +133,11 @@ spurious warnings about an unused var.
133 133
134* Lisp changes in Emacs 24.4 134* Lisp changes in Emacs 24.4
135 135
136** Support for filesystem notifications.
137Emacs now supports notifications of filesystem changes, such as
138creation, modification, and deletion of files. This requires the
139'inotify' API on GNU/Linux systems.
140
136** Face changes 141** Face changes
137 142
138*** The `face-spec-set' is now analogous to `setq' for face specs. 143*** The `face-spec-set' is now analogous to `setq' for face specs.