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:
parent
5b4690419b
commit
6859f77e1d
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ Stolen shamelessly from go-mode"
|
||||||
(defun +format*probe (orig-fn)
|
(defun +format*probe (orig-fn)
|
||||||
"Use `+format-with' instead, if it is set."
|
"Use `+format-with' instead, if it is set."
|
||||||
(if +format-with
|
(if +format-with
|
||||||
(cons +format-with t)
|
(list +format-with t)
|
||||||
(funcall orig-fn)))
|
(funcall orig-fn)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue