Skip to content

Commit 8a38e94

Browse files
author
Vincent Belaïche
committed
Fix local printer set to left aligned string formatter.
* lisp/ses.el (ses-local-printer-compile): Add missing case for left-aligned string formatter.
1 parent 0f0b191 commit 8a38e94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lisp/ses.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,10 @@ definition."
562562
((functionp printer) printer)
563563
((stringp printer)
564564
`(lambda (x) (format ,printer x)))
565+
((stringp (car-safe printer))
566+
`(lambda (x)
567+
(setq ses-call-printer-return t)
568+
(format ,(car printer) x)))
565569
(t (error "Invalid printer %S" printer))))
566570

567571
(defun ses--local-printer (name def)

0 commit comments

Comments
 (0)