summaryrefslogtreecommitdiff
path: root/lisp/filenotify.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2017-05-01 12:16:15 +0200
committerMichael Albinus <michael.albinus@gmx.de>2017-05-01 12:16:15 +0200
commitebff4177e2a0226aa1e65181307acfdadfbded3b (patch)
treeb25e862a92f9f9ce01e4907239ecc2aa4d7440da /lisp/filenotify.el
parent04f915db9732d275ad1de8add8009c2af9d94d1f (diff)
downloademacs-ebff4177e2a0226aa1e65181307acfdadfbded3b.tar.gz
Fix filenotify-tests.el for cygwin
* test/lisp/filenotify-tests.el (file-notify--test-read-event): Add an additional `sit-for'. (file-notify-test02-rm-watch): Add an additional `file-notify--test-read-event' call.
Diffstat (limited to 'lisp/filenotify.el')
-rw-r--r--lisp/filenotify.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index 0a45db82192..64cfab143ec 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -188,8 +188,8 @@ EVENT is the cadr of the event in `file-notify-handle-event'
((memq action '(attrib link)) 'attribute-changed)
((memq action '(create added)) 'created)
((memq action '(modify modified write)) 'changed)
- ((memq action
- '(delete delete-self move-self removed)) 'deleted)
+ ((memq action '(delete delete-self move-self removed))
+ 'deleted)
;; Make the event pending.
((memq action '(moved-from renamed-from))
(setq file-notify--pending-event