From: Stefan Monnier Date: Thu, 27 Jul 2017 04:09:17 +0000 (-0400) Subject: * lisp/calendar/todo-mode.el (todo-print-buffer-function): Rework docstring. X-Git-Tag: emacs-26.0.90~517^2~97 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27badfeaa789a4e99f94253d894dde18dafa0798;p=emacs.git * lisp/calendar/todo-mode.el (todo-print-buffer-function): Rework docstring. --- 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)