editor/format: fix not-a-function error

Because unquoted lists were being evaluated, it was treated as a
function call.
This commit is contained in:
Henrik Lissner 2018-09-10 08:20:56 -04:00
parent d0d0f3b0a6
commit e38e79e6d7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -52,7 +52,7 @@
(defun +format--make-shell-command-list (command-list ok-statuses error-regexp)
`(let (args)
(dolist (arg (list ,@command-list))
(dolist (arg ',command-list)
(cond ((stringp arg)
(push arg args))
((listp arg)