emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/albinus e56af09: * lisp/filenotify.el (file-notify


From: Michael Albinus
Subject: [Emacs-diffs] scratch/albinus e56af09: * lisp/filenotify.el (file-notify-callback): Adapt check.
Date: Sat, 5 Jan 2019 13:39:25 -0500 (EST)

branch: scratch/albinus
commit e56af099fb41652e273f739cb39c39255fc70fae
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    * lisp/filenotify.el (file-notify-callback): Adapt check.
---
 lisp/filenotify.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index 8be7ffa..55f92db 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -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)))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]