jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
838 stars 68 forks source link

Fix missing optional arguments when calling `async-copy-file' in `async-... #5

Closed lu-fennell closed 12 years ago

lu-fennell commented 12 years ago

...dired.el'.

E.g. in async-dired-copy-file-recursive' the :callback argument was interpreted as optional argument.. this completely broke async-copy-file'.

Perhaps the &optional and &key arguments should not be mixed in a function definition, to avoid problems like this in the future (especially since it's an API function)?