projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0b191
)
Fix local printer set to left aligned string formatter.
author
Vincent Belaïche
<vincentb1@users.sourceforge.net>
Thu, 28 Jul 2016 17:49:37 +0000
(19:49 +0200)
committer
Vincent Belaïche
<vincentb1@users.sourceforge.net>
Thu, 28 Jul 2016 17:49:37 +0000
(19:49 +0200)
* lisp/ses.el (ses-local-printer-compile): Add missing case
for left-aligned string formatter.
lisp/ses.el
patch
|
blob
|
history
diff --git
a/lisp/ses.el
b/lisp/ses.el
index ab9f0715fd8a55d4cc009cc01e55cc21c5de5923..0b38af41a8b8fb4ef367f8c541330795d712b086 100644
(file)
--- a/
lisp/ses.el
+++ b/
lisp/ses.el
@@
-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)