From 6859f77e1d175f75aee8c4be445b2b3c32777961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edwin=20T=C3=B6r=C3=B6k?= Date: Sun, 30 Sep 2018 23:42:13 +0100 Subject: [PATCH] format.el: fix `Wrong type argument: listp, t` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The intention here was to build a list of two elements. Signed-off-by: Edwin Török --- modules/editor/format/autoload/format.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/format/autoload/format.el b/modules/editor/format/autoload/format.el index 4113effd5..23042b1de 100644 --- a/modules/editor/format/autoload/format.el +++ b/modules/editor/format/autoload/format.el @@ -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