1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00

Handle quoted file names in filenotify.el

* lisp/filenotify.el (file-notify-add-watch): Do not save
quoted file names in `file-notify-descriptors'.

* test/lisp/files-tests.el
(files-file-name-non-special-notify-handlers): Do not expect
to fail.
This commit is contained in:
Michael Albinus 2018-01-26 11:57:41 +01:00 committed by Noam Postavsky
parent 00c65bcf4e
commit e08de2bae2
2 changed files with 4 additions and 2 deletions

View file

@ -533,7 +533,6 @@ be invoked with the right arguments."
(should-not (file-newer-than-file-p nospecial nospecial))))
(ert-deftest files-file-name-non-special-notify-handlers ()
:expected-result :failed
(files-tests--with-temp-non-special (tmpfile nospecial)
(let ((watch (file-notify-add-watch nospecial '(change) #'ignore)))
(should (file-notify-valid-p watch))