summaryrefslogtreecommitdiff
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/ses.texi7
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 8e9321445df..4017b34f02c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -2,6 +2,10 @@
* eshell.text (top): Fix incorrect info filename in an xref.
+2014-01-02 Vincent Belaïche <vincentb1@users.sourceforge.net>
+
+ * ses.texi: Add documentation for local printer functions.
+
2014-01-02 Glenn Morris <rgm@gnu.org>
* Makefile.in (cc_mode_deps): Rename from (typo) ccmode_deps.
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi
index e57ed802459..11fd55e8dcb 100644
--- a/doc/misc/ses.texi
+++ b/doc/misc/ses.texi
@@ -434,6 +434,13 @@ Centering with dashes and spill-over.
Centering with tildes (~) and spill-over.
@end table
+You can define printer function local to a sheet with command
+@code{ses-define-local-printer}. For instance define printer
+@samp{foo} to @code{"%.2f"} and then use symbol @samp{foo} as a
+printer function. Then, if you call again
+@code{ses-define-local-printer} on @samp{foo} to redefine it as
+@code{"%.3f"} all the cells using printer @samp{foo} will be reprinted
+accordingly.
@node Clearing cells
@section Clearing cells