aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/filenotify.el3
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 50f587d1126..3ff0a40b2e4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-11-27 Eli Zaretskii <eliz@gnu.org>
2
3 * filenotify.el (file-notify-add-watch): Don't special-case
4 w32notify when computing the directory to watch.
5
12013-11-27 Glenn Morris <rgm@gnu.org> 62013-11-27 Glenn Morris <rgm@gnu.org>
2 7
3 Make bootstrap without generated uni-*.el files possible again. 8 Make bootstrap without generated uni-*.el files possible again.
diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index c980d720714..72ee0ced785 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -237,8 +237,7 @@ FILE is the name of the file whose event is being reported."
237 237
238 (let* ((handler (find-file-name-handler file 'file-notify-add-watch)) 238 (let* ((handler (find-file-name-handler file 'file-notify-add-watch))
239 (dir (directory-file-name 239 (dir (directory-file-name
240 (if (or (and (not handler) (eq file-notify--library 'w32notify)) 240 (if (file-directory-p file)
241 (file-directory-p file))
242 file 241 file
243 (file-name-directory file)))) 242 (file-name-directory file))))
244 desc func l-flags) 243 desc func l-flags)