]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/filenotify.el (file-notify-callback): Adapt check.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 5 Jan 2019 18:39:07 +0000 (19:39 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 5 Jan 2019 18:39:07 +0000 (19:39 +0100)
lisp/filenotify.el

index 8be7ffa413207a52d016b6b0ebd582a6543a270b..55f92dbbf3d3901761466dbd02fe05e0fe97665a 100644 (file)
@@ -257,7 +257,7 @@ EVENT is the cadr of the event in `file-notify-handle-event'
                          ;; Watched file or directory is concerned.
                          (or (string-equal
                               file (file-notify--event-watched-file event))
-                             (string-equal
+                             (file-in-directory-p
                               file (file-notify--watch-directory watch)))))
             (file-notify-rm-watch desc)))))))