emacs-diffs
[Top][All Lists]
Advanced

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

master 3b33a14380: Clarify Vprint_unreadable_function doc string


From: Lars Ingebrigtsen
Subject: master 3b33a14380: Clarify Vprint_unreadable_function doc string
Date: Sat, 22 Jan 2022 10:24:54 -0500 (EST)

branch: master
commit 3b33a143806c9bc845ccb0fdc19b09f2a49afbe6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Clarify Vprint_unreadable_function doc string
    
    * src/print.c (syms_of_print): Clarify Vprint_unreadable_function
    doc string
---
 src/print.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/print.c b/src/print.c
index e9a83d6d5d..7440a82f6f 100644
--- a/src/print.c
+++ b/src/print.c
@@ -2501,14 +2501,14 @@ priorities.  Values other than nil or t are also 
treated as
               doc: /* If non-nil, a function to call when printing unreadable 
objects.
 By default, Emacs printing functions (like `prin1') print unreadable
 objects as \"#<...>\", where \"...\" describes the object (for
-instance, \"#<marker in no buffer>\").  If this variable is non-nil,
-it should be a function which will be called to print the object instead.
-
-The function will be called with two arguments: the object to be printed, and
-the NOESCAPE flag (see `prin1-to-string').  If this function returns nil, the
-object will be printed as usual.  If it returns a string, that string
-will then be printed.  If the function returns anything else, the
-object will not be printed.  */);
+instance, \"#<marker in no buffer>\").
+
+If non-nil, it should be a function that will be called with two
+arguments: the object to be printed, and the NOESCAPE flag (see
+`prin1-to-string').  If this function returns nil, the object will be
+printed as usual.  If it returns a string, that string will then be
+printed.  If the function returns anything else, the object will not
+be printed.  */);
   Vprint_unreadable_function = Qnil;
   DEFSYM (Qprint_unreadable_function, "print-unreadable-function");
 }



reply via email to

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