diff options
author | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2016-07-28 17:41:21 +0200 |
---|---|---|
committer | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2016-07-28 17:41:21 +0200 |
commit | 41b28dea8587c13b0bc59c1ec70b65afab3aeeca (patch) | |
tree | df194b2e078802337f57ad8af0e709bd994d84ee /lisp/emacs-lisp/shadow.el | |
parent | 3f4f21b406a56d504c03a9bab3ac0949d8774c17 (diff) | |
download | emacs-41b28dea8587c13b0bc59c1ec70b65afab3aeeca.tar.gz emacs-41b28dea8587c13b0bc59c1ec70b65afab3aeeca.tar.bz2 emacs-41b28dea8587c13b0bc59c1ec70b65afab3aeeca.zip |
Enable addition of local printers from a mode hook.
* doc/misc/ses.texi (Printer functions): Split the node into 5
sub-nodes + add some extra documentation.
(Various kinds of printer functions): Make an itemisation to
disintguish better the 3 types of printers, give an example of
lambda printer definition.
(Standard printer functions): Add documentation for ses-prin1
printer function.
(Local printer functions): Add documentation for creating
local printers programmatically from a hook.
(Writing a lambda printer function): Add documentation about
anti-stackoverflow precautions to take when you call the
standard printer functions from inside a local printer.
* lisp/ses.el (ses-standard-printer-functions): Add ses-prin1
among standard printer function, and update docstring
accordingly.
(ses-call-printer, ses-export-tab): Call `ses-prin1' instead
of prin1-to-string.
(ses-define-local-printer): Add definition to arguments so
that a local printer can be defined programmatically from a
mode hook. Make docstring more substantial. Use completing
read for local printer name input. Plus some minor
optimization.
(ses-define-if-new-local-printer): New defsubst.
(ses-center, ses-center-span, ses-dashfill)
(ses-dashfill-span, ses-tildefill-span): Allow to pass printer
as an optional argument to superseed column printer/default
spreadsheet printer.
(ses-prin1): New defun.
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
0 files changed, 0 insertions, 0 deletions