aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorVincent Belaïche2015-12-30 12:37:54 +0100
committerVincent Belaïche2015-12-30 17:42:03 +0100
commit209e30bac2d73c2e6f1c46b0d7281b474527cfa4 (patch)
tree763e169916fb9b8835e6f7305561a4de8e6a85f9 /lisp
parente8702794d46ae032803bf54ffbd71ebde215179c (diff)
downloademacs-209e30bac2d73c2e6f1c46b0d7281b474527cfa4.tar.gz
emacs-209e30bac2d73c2e6f1c46b0d7281b474527cfa4.zip
Don't fake empty cells value by "" when printing with a lambda.
When using a lambda expression printer function the user should be free to format differently a really empty cell, ie. containing nil, from a cell containing an empty string "". * ses.el (ses-call-printer): Replace `(or value "")' by just `value' in the case of a lambda expression printer function. * ses.texi (Printer functions): Add example and description about lambda expression printer function handling all the possible values, including unexpected ones.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ses.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ses.el b/lisp/ses.el
index 7347eb8f5fd..8cbc2e80cde 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -1289,7 +1289,7 @@ printer signaled one (and \"%s\" is used as the default printer), else nil."
1289 (and locprn 1289 (and locprn
1290 (ses--locprn-compiled locprn)))) 1290 (ses--locprn-compiled locprn))))
1291 printer) 1291 printer)
1292 (or value ""))) 1292 value))
1293 (if (stringp value) 1293 (if (stringp value)
1294 value 1294 value
1295 (or (stringp (car-safe value)) 1295 (or (stringp (car-safe value))