projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ea160
)
* filenotify.el (file-notify--descriptor): Do not cons for remote files.
author
Michael Albinus
<michael.albinus@gmx.de>
Tue, 13 Jan 2015 14:58:50 +0000
(15:58 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Tue, 13 Jan 2015 14:58:50 +0000
(15:58 +0100)
lisp/filenotify.el
patch
|
blob
|
history
diff --git
a/lisp/filenotify.el
b/lisp/filenotify.el
index 18d93d16c871b07f3897cdfdf5ec64756ca15a43..c94f631dde8b1550fa631a7641280a96215cdd64 100644
(file)
--- a/
lisp/filenotify.el
+++ b/
lisp/filenotify.el
@@
-96,7
+96,7
@@
This is available in case a file has been moved."
"Return the descriptor to be used in `file-notify-*-watch'.
For `gfilenotify' and `w32notify' it is the same descriptor as
used in the low-level file notification package."
- (if (
eq file-notify--library 'inotify
)
+ (if (
and (natnump descriptor) (eq file-notify--library 'inotify)
)
(cons descriptor file)
descriptor))