HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
declare smobs in alloc.c
[bpt/emacs.git]
/
lisp
/
filenotify.el
diff --git
a/lisp/filenotify.el
b/lisp/filenotify.el
index
c980d72
..
33b02d6
100644
(file)
--- a/
lisp/filenotify.el
+++ b/
lisp/filenotify.el
@@
-1,6
+1,6
@@
;;; filenotify.el --- watch files for changes on disk
;;; filenotify.el --- watch files for changes on disk
-;; Copyright (C) 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2013
-2014
Free Software Foundation, Inc.
;; Author: Michael Albinus <michael.albinus@gmx.de>
;; Author: Michael Albinus <michael.albinus@gmx.de>
@@
-237,8
+237,7
@@
FILE is the name of the file whose event is being reported."
(let* ((handler (find-file-name-handler file 'file-notify-add-watch))
(dir (directory-file-name
(let* ((handler (find-file-name-handler file 'file-notify-add-watch))
(dir (directory-file-name
- (if (or (and (not handler) (eq file-notify--library 'w32notify))
- (file-directory-p file))
+ (if (file-directory-p file)
file
(file-name-directory file))))
desc func l-flags)
file
(file-name-directory file))))
desc func l-flags)