Fix an error in tramp-sh-inotifywait-process-filter
* lisp/net/tramp-sh.el (tramp-sh-inotifywait-process-filter): Add default FILE to returned event, if inotifywait doesn't tell us.
This commit is contained in:
parent
0aa4bfaab8
commit
c306848c0f
1 changed files with 2 additions and 1 deletions
|
@ -3785,7 +3785,8 @@ file-notify events."
|
|||
(intern-soft
|
||||
(replace-regexp-in-string "_" "-" (downcase x))))
|
||||
(split-string (match-string 1 line) "," 'omit))
|
||||
(match-string 3 line))))
|
||||
(or (match-string 3 line)
|
||||
(file-name-nondirectory (process-get proc 'watch-name))))))
|
||||
;; Usually, we would add an Emacs event now. Unfortunately,
|
||||
;; `unread-command-events' does not accept several events at
|
||||
;; once. Therefore, we apply the handler directly.
|
||||
|
|
Loading…
Add table
Reference in a new issue