[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c8ee570: Suppress undesired error messages in filen
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master c8ee570: Suppress undesired error messages in filenotify-tests.el |
Date: |
Tue, 7 Feb 2017 15:42:24 -0500 (EST) |
branch: master
commit c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Suppress undesired error messages in filenotify-tests.el
* test/lisp/filenotify-tests.el (file-notify-test03-autorevert):
Suppress `vc-refresh-state', it produces undesired error messages.
---
test/lisp/filenotify-tests.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 27434bc..c024c51 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -665,6 +665,9 @@ delivered."
(setq auto-revert-notify-exclude-dir-regexp "nothing-to-be-excluded"
auto-revert-remote-files t
auto-revert-stop-on-user-input nil)
+;; In the remote case, `vc-refresh-state' returns undesired error
+;; messages. Let's suppress them.
+(defalias 'vc-refresh-state 'ignore)
(ert-deftest file-notify-test03-autorevert ()
"Check autorevert via file notification."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master c8ee570: Suppress undesired error messages in filenotify-tests.el,
Michael Albinus <=