aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2018-01-26 11:57:41 +0100
committerNoam Postavsky2018-02-01 20:15:12 -0500
commite08de2bae2a8e91c0245259dfcbfdca1d191a119 (patch)
treea79bfb9080a90f31c8106898b1418bf8addb9e74 /test
parent00c65bcf4ee8ca4ce04ad46907de29c832b8310b (diff)
downloademacs-e08de2bae2a8e91c0245259dfcbfdca1d191a119.tar.gz
emacs-e08de2bae2a8e91c0245259dfcbfdca1d191a119.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/files-tests.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index a72f5754aa6..6b394cd5b7b 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -533,7 +533,6 @@ be invoked with the right arguments."
533 (should-not (file-newer-than-file-p nospecial nospecial)))) 533 (should-not (file-newer-than-file-p nospecial nospecial))))
534 534
535(ert-deftest files-file-name-non-special-notify-handlers () 535(ert-deftest files-file-name-non-special-notify-handlers ()
536 :expected-result :failed
537 (files-tests--with-temp-non-special (tmpfile nospecial) 536 (files-tests--with-temp-non-special (tmpfile nospecial)
538 (let ((watch (file-notify-add-watch nospecial '(change) #'ignore))) 537 (let ((watch (file-notify-add-watch nospecial '(change) #'ignore)))
539 (should (file-notify-valid-p watch)) 538 (should (file-notify-valid-p watch))