Commit 8a38e948 authored by Vincent Belaïche's avatar Vincent Belaïche
Browse files

Fix local printer set to left aligned string formatter.

* lisp/ses.el (ses-local-printer-compile): Add missing case
for left-aligned string formatter.
parent 0f0b191a
......@@ -562,6 +562,10 @@ definition."
((functionp printer) printer)
((stringp printer)
`(lambda (x) (format ,printer x)))
((stringp (car-safe printer))
`(lambda (x)
(setq ses-call-printer-return t)
(format ,(car printer) x)))
(t (error "Invalid printer %S" printer))))
(defun ses--local-printer (name def)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment