diff options
| author | Michael Albinus | 2015-11-09 20:26:10 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-11-25 15:07:10 +0100 |
| commit | 7543d1cf46e475bd14a147ef676abe3935a8f96e (patch) | |
| tree | e34124493ba1a54fb8a5056ec16c03176632ea99 /src/keyboard.c | |
| parent | e3354e2265bc442e4c7b84b806be482db88581a2 (diff) | |
| download | emacs-7543d1cf46e475bd14a147ef676abe3935a8f96e.tar.gz emacs-7543d1cf46e475bd14a147ef676abe3935a8f96e.zip | |
Work on kqueue
* lisp/filenotify.el (file-notify--library)
(file-notify-descriptors, file-notify-callback)
(file-notify-add-watch, file-notify-rm-watch)
(file-notify-valid-p): Add kqueue support.
* src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 2449abb7dfc..ab7cb34a030 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -5945,12 +5945,12 @@ make_lispy_event (struct input_event *event) | |||
| 5945 | } | 5945 | } |
| 5946 | #endif /* HAVE_DBUS */ | 5946 | #endif /* HAVE_DBUS */ |
| 5947 | 5947 | ||
| 5948 | #if defined HAVE_GFILENOTIFY || defined HAVE_INOTIFY | 5948 | #if defined HAVE_INOTIFY || defined HAVE_KQUEUE || defined HAVE_GFILENOTIFY |
| 5949 | case FILE_NOTIFY_EVENT: | 5949 | case FILE_NOTIFY_EVENT: |
| 5950 | { | 5950 | { |
| 5951 | return Fcons (Qfile_notify, event->arg); | 5951 | return Fcons (Qfile_notify, event->arg); |
| 5952 | } | 5952 | } |
| 5953 | #endif /* defined HAVE_GFILENOTIFY || defined HAVE_INOTIFY */ | 5953 | #endif /* HAVE_INOTIFY || HAVE_KQUEUE || HAVE_GFILENOTIFY */ |
| 5954 | 5954 | ||
| 5955 | case CONFIG_CHANGED_EVENT: | 5955 | case CONFIG_CHANGED_EVENT: |
| 5956 | return list3 (Qconfig_changed_event, | 5956 | return list3 (Qconfig_changed_event, |