mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user