Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syntax error in rustic-cargo-add with prefix argument
Original description by @sigvei in brotzeit/rustic#536: rustic-cargo-add with a prefix command called read-from-minibuffer with erroneous arguments. The current master produces this error message: funcall-interactively: Wrong type argument: keymapp, " add " This is due to the line (read-from-minibuffer "Cargo add command: " (rustic-cargo-bin) " add "), which makes " add " a third argument to read-from-minibuffer. I guess it's suppose to just be concated with rustic-cargo-bin. This commit implements that and also DRY's the code by storing the base command in a let binding.
- Loading branch information