format.el: fix Wrong type argument: listp, t

The intention here was to build a list of two elements.

Signed-off-by: Edwin Török <edwin@etorok.net>
This commit is contained in:
Edwin Török 2018-09-30 23:42:13 +01:00
parent 5b4690419b
commit 6859f77e1d

View file

@ -101,7 +101,7 @@ Stolen shamelessly from go-mode"
(defun +format*probe (orig-fn)
"Use `+format-with' instead, if it is set."
(if +format-with
(cons +format-with t)
(list +format-with t)
(funcall orig-fn)))
;;;###autoload