]> git.eshelyaron.com Git - emacs.git/commit
Small code clean-up of file-notify-add-watch
authorMattias Engdegård <mattiase@acm.org>
Mon, 29 Apr 2019 14:42:04 +0000 (16:42 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 2 May 2019 13:45:04 +0000 (15:45 +0200)
commite13b8c0e405f1b5b78a1eeb3c33422b2fc93f002
treec8e11c026d75aa5d53caa4a195c30172135abb1a
parent0efaae78f2b66de7ebeff7d1c16771ddafdf2d06
Small code clean-up of file-notify-add-watch

* lisp/filenotify.el (file-notify-add-watch):
Clearly separate backend-specific code from the rest, and simplify.
(file-notify--add-watch-inotify, file-notify--add-watch-kqueue)
(file-notify--add-watch-w32notify, file-notify--add-watch-gfilenotify):
New functions.
lisp/filenotify.el