diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2019-05-19 17:57:19 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2019-07-24 11:52:44 +0200 |
commit | 3a764848650365a9794839c5e98fa74bceb76c47 (patch) | |
tree | 3993bd2d0716ce64940f25964e6e990ccdacbced /lisp/filenotify.el | |
parent | 5cfd8c508ea59739eea6093771f0f747ebd64885 (diff) | |
download | emacs-3a764848650365a9794839c5e98fa74bceb76c47.tar.gz emacs-3a764848650365a9794839c5e98fa74bceb76c47.tar.bz2 emacs-3a764848650365a9794839c5e98fa74bceb76c47.zip |
Don't use internal filenotify function in test
* test/lisp/filenotify-tests.el
(file-notify--test-file, file-notify--test-add-watch): New.
(file-notify--test-event-test, file-notify--test-event-handler)
(file-notify-test02-rm-watch, file-notify-test03-events)
(file-notify-test05-file-validity, file-notify-test07-many-events)
(file-notify-test08-backup, file-notify-test09-watched-file-in-watched-dir):
Avoid using the internal `file-notify--event-watched-file' so that it
can be removed from filenotify.el.
Instead, pass the file name to the callback as an extra argument;
use `file-notify--test-add-watch' instead of `file-notify-add-watch'.
Diffstat (limited to 'lisp/filenotify.el')
0 files changed, 0 insertions, 0 deletions