summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-07-27 00:09:17 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2017-07-27 00:09:17 -0400
commit27badfeaa789a4e99f94253d894dde18dafa0798 (patch)
treee17f0da6d59153dbfe1a07bbcd235bbac8f6ca62
parent9c00d63d1a12894e49671a8884c1c0dbdeef961e (diff)
downloademacs-27badfeaa789a4e99f94253d894dde18dafa0798.tar.gz
* lisp/calendar/todo-mode.el (todo-print-buffer-function): Rework docstring.
-rw-r--r--lisp/calendar/todo-mode.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index b89c1c2bbd5..1cb01e1ed9e 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -4527,11 +4527,9 @@ If the file already exists, overwrite it only on confirmation."
(defcustom todo-print-buffer-function #'ps-print-buffer-with-faces
"Function called by `todo-print-buffer' to print Todo mode buffers.
-The function should take an optional argument whose non-nil value
-is a string naming a file to save the print image to; calling
-`todo-print-buffer-to-file' prompts for the file name, which is
-passed to this function. Calling this function with no or a nil
-argument sends the image to the printer."
+Called with one argument which can either be:
+- a string, naming a file to save the print image to.
+- nil, to send the image to the printer."
:type 'symbol
:group 'todo)