summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2017-02-23 00:56:15 +0530
committerArun Isaac2017-02-23 00:56:15 +0530
commitae597156bddec210732006f772289f677243c7fe (patch)
tree38b09f36a6aa5cbc0d8bee33754986c1a51bde74
parentb99c161c985726f76c9f93b45c14db10d2198b43 (diff)
downloadexiftool.el-ae597156bddec210732006f772289f677243c7fe.tar.gz
exiftool.el-ae597156bddec210732006f772289f677243c7fe.tar.lz
exiftool.el-ae597156bddec210732006f772289f677243c7fe.zip
Remove optional `closure' argument.
* el-exiftool.el (el-exiftool--tq-sync-query): Remove optional `closure' argument. Just pass nil as the `closure' argument to `tq-enqueue'.
-rw-r--r--el-exiftool.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/el-exiftool.el b/el-exiftool.el
index c68664b..8a2c303 100644
--- a/el-exiftool.el
+++ b/el-exiftool.el
@@ -33,9 +33,9 @@
(require 'subr-x)
(require 'cl)
-(defun el-exiftool--tq-sync-query (tq question regexp &optional closure)
+(defun el-exiftool--tq-sync-query (tq question regexp)
(let ((response))
- (tq-enqueue tq question regexp closure
+ (tq-enqueue tq question regexp nil
(lambda (closure answer) (setq response answer)))
(while (not response)
(accept-process-output))