diff options
author | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2015-12-30 12:37:54 +0100 |
---|---|---|
committer | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2015-12-30 17:42:03 +0100 |
commit | 209e30bac2d73c2e6f1c46b0d7281b474527cfa4 (patch) | |
tree | 763e169916fb9b8835e6f7305561a4de8e6a85f9 /lisp/ses.el | |
parent | e8702794d46ae032803bf54ffbd71ebde215179c (diff) | |
download | emacs-209e30bac2d73c2e6f1c46b0d7281b474527cfa4.tar.gz |
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/ses.el')
-rw-r--r-- | lisp/ses.el | 2 |
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." (and locprn (ses--locprn-compiled locprn)))) printer) - (or value ""))) + value)) (if (stringp value) value (or (stringp (car-safe value)) |