[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/albinus 56a96db: Remove instrumentation

From: Michael Albinus
Subject: [Emacs-diffs] scratch/albinus 56a96db: Remove instrumentation
Date: Mon, 7 Jan 2019 08:09:11 -0500 (EST)

branch: scratch/albinus
commit 56a96db98dc72395248198974e1947b4c31f8070
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Remove instrumentation
    * lisp/filenotify.el (file-notify-handle-event):
    * test/lisp/filenotify-tests.el (file-notify--test-event-handler):
    Remove instrumentation.
 lisp/filenotify.el            | 2 +-
 test/lisp/filenotify-tests.el | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index ef3be8a..6a3f0b0 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -90,7 +90,7 @@ If EVENT is a filewatch event, call its callback.  It has the 
 Otherwise, signal a `file-notify-error'."
   (interactive "e")
-  (message "file-notify-handle-event %S" event)
+  ;;(message "file-notify-handle-event %S" event)
   (if (and (consp event)
            (eq (car event) 'file-notify)
           (>= (length event) 3))
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 2aa0b6a..f2da8f3 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -516,8 +516,8 @@ and the event to `file-notify--test-events'."
     (unless (string-match
             (regexp-quote ".#")
             (file-notify--event-file-name file-notify--test-event))
-      (message "file-notify--test-event-handler result: %s event: %S"
-               (null (ert-test-failed-p result)) file-notify--test-event)
+      ;;(message "file-notify--test-event-handler result: %s event: %S"
+               ;;(null (ert-test-failed-p result)) file-notify--test-event)
       (setq file-notify--test-events
            (append file-notify--test-events `(,file-notify--test-event))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]