* filenotify.el (file-notify--descriptor): Do not cons for remote files.
This commit is contained in:
parent
b1ea160728
commit
1e5902ac64
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ This is available in case a file has been moved."
|
||||||
"Return the descriptor to be used in `file-notify-*-watch'.
|
"Return the descriptor to be used in `file-notify-*-watch'.
|
||||||
For `gfilenotify' and `w32notify' it is the same descriptor as
|
For `gfilenotify' and `w32notify' it is the same descriptor as
|
||||||
used in the low-level file notification package."
|
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)
|
(cons descriptor file)
|
||||||
descriptor))
|
descriptor))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue