[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113343: * automated/inotify-test.el (inotify-add-wa
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r113343: * automated/inotify-test.el (inotify-add-watch, inotify-rm-watch): Declare. |
Date: |
Tue, 09 Jul 2013 07:43:23 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113343
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-07-09 00:43:12 -0700
message:
* automated/inotify-test.el (inotify-add-watch, inotify-rm-watch): Declare.
(inotify-file-watch-simple): Silence compiler.
modified:
test/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-8588
test/automated/inotify-test.el
inotifytest.el-20121210111500-2cd7np2oq1r0lmp9-2
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog 2013-07-09 07:35:26 +0000
+++ b/test/ChangeLog 2013-07-09 07:43:12 +0000
@@ -1,5 +1,9 @@
2013-07-09 Glenn Morris <address@hidden>
+ * automated/inotify-test.el (inotify-add-watch, inotify-rm-watch):
+ Declare.
+ (inotify-file-watch-simple): Silence compiler.
+
* automated/python-tests.el (python-indent-block-enders):
Make it actually test something.
=== modified file 'test/automated/inotify-test.el'
--- a/test/automated/inotify-test.el 2013-01-02 16:30:50 +0000
+++ b/test/automated/inotify-test.el 2013-07-09 07:43:12 +0000
@@ -25,6 +25,9 @@
(require 'ert)
+(declare-function inotify-add-watch "inotify.c" (file-name aspect callback))
+(declare-function inotify-rm-watch "inotify.c" (watch-descriptor))
+
(when (featurep 'inotify)
;; (ert-deftest filewatch-file-watch-aspects-check ()
@@ -45,7 +48,7 @@
(let ((temp-file (make-temp-file "inotify-simple"))
(events 0))
(let ((wd
- (inotify-add-watch temp-file t (lambda (ev)
+ (inotify-add-watch temp-file t (lambda (_ev)
(setq events (1+ events))))))
(unwind-protect
(progn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113343: * automated/inotify-test.el (inotify-add-watch, inotify-rm-watch): Declare.,
Glenn Morris <=