diff options
author | Arun Isaac | 2017-02-23 00:56:15 +0530 |
---|---|---|
committer | Arun Isaac | 2017-02-23 00:56:15 +0530 |
commit | ae597156bddec210732006f772289f677243c7fe (patch) | |
tree | 38b09f36a6aa5cbc0d8bee33754986c1a51bde74 /el-exiftool.el | |
parent | b99c161c985726f76c9f93b45c14db10d2198b43 (diff) | |
download | exiftool.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'.
Diffstat (limited to 'el-exiftool.el')
-rw-r--r-- | el-exiftool.el | 4 |
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)) |