emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 27badfe: * lisp/calendar/todo-mode.el (todo-print-b


From: Stefan Monnier
Subject: [Emacs-diffs] master 27badfe: * lisp/calendar/todo-mode.el (todo-print-buffer-function): Rework docstring.
Date: Thu, 27 Jul 2017 00:09:22 -0400 (EDT)

branch: master
commit 27badfeaa789a4e99f94253d894dde18dafa0798
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/calendar/todo-mode.el (todo-print-buffer-function): Rework docstring.
---
 lisp/calendar/todo-mode.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index b89c1c2..1cb01e1 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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]