-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
hat-tip to @yyoncho
file-notify-add-watch is a compiled Lisp function in ‘filenotify.el’.
(file-notify-add-watch FILE FLAGS CALLBACK)
....
When any event happens, Emacs will call the CALLBACK function passing
it a single argument EVENT, which is of the form
(DESCRIPTOR ACTION FILE [FILE1])
- Verify how filenotify calls the callback. I suspect it's from C code.
- Figure out what to advise to wrap the callback, handle similarly to timers or process filters
lsp might be a good test case for this.
Metadata
Metadata
Assignees
Labels
No labels