From 297e558c56d1538106373a5e9b33a07828cc504b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 26 Dec 2015 13:16:15 +0200 Subject: [PATCH] Fix documentation of 'ses-define-local-printer' * doc/misc/ses.texi (Printer functions): Fix whitespace between sentences and punctuation. Add an index entry for 'ses-define-local-printer'. --- doc/misc/ses.texi | 13 +++++++------ etc/NEWS | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi index 2f92e3ea836..9b2a457a710 100644 --- a/doc/misc/ses.texi +++ b/doc/misc/ses.texi @@ -377,6 +377,7 @@ Undo previous action (@code{(undo)}). @findex ses-read-cell-printer @findex ses-read-column-printer @findex ses-read-default-printer +@findex ses-define-local-printer @findex ses-center @findex ses-center-span @findex ses-dashfill @@ -435,13 +436,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 +You can define printer function local to a sheet with the command +@code{ses-define-local-printer}. For instance, define a 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. +@code{"%.3f"}, all the cells using printer @samp{foo} will be +reprinted accordingly. @node Clearing cells @section Clearing cells diff --git a/etc/NEWS b/etc/NEWS index f1ba79f5b03..95f440b48c2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -739,6 +739,7 @@ plain text parts, if display of HTML email is possible; customize the *** In the commands that make summaries by subject, recipients, or senders, you can no longer use commas to separate regular expressions. ++++ ** SES now supports local printer functions; see `ses-define-local-printer'. ** sh-script -- 2.39.5