]> code.delx.au - gnu-emacs/blobdiff - src/print.c
(isearch): Use magenta2 as bg for (background light)
[gnu-emacs] / src / print.c
index 832e9af46bd95592c4bfd4c3446c131b5b8ff3df..a5bff86430df3a5c3fbc80914e798a8c699cbf6c 100644 (file)
@@ -532,7 +532,7 @@ PRINTCHARFUN defaults to the value of `standard-output' (which see).  */)
 
   if (NILP (printcharfun))
     printcharfun = Vstandard_output;
-  CHECK_NUMBER (character, 0);
+  CHECK_NUMBER (character);
   PRINTPREPARE;
   PRINTCHAR (XINT (character));
   PRINTFINISH;
@@ -663,7 +663,7 @@ usage: (with-output-to-temp-buffer BUFFNAME BODY ...)  */)
 
   GCPRO1(args);
   name = Feval (Fcar (args));
-  CHECK_STRING (name, 0);
+  CHECK_STRING (name);
   temp_output_buffer_setup (XSTRING (name)->data);
   buf = Vstandard_output;
   UNGCPRO;
@@ -702,7 +702,8 @@ If PRINTCHARFUN is omitted or nil, the value of `standard-output' is used.  */)
 DEFUN ("prin1", Fprin1, Sprin1, 1, 2, 0,
        doc: /* Output the printed representation of OBJECT, any Lisp object.
 Quoting characters are printed when needed to make output that `read'
-can handle, whenever this is possible.
+can handle, whenever this is possible.  For complex objects, the behavior
+is controlled by `print-level' and `print-length', which see.
 
 OBJECT is any of the Lisp data types: a number, a string, a symbol,
 a list, a buffer, a window, a frame, etc.
@@ -741,10 +742,10 @@ is used instead.  */)
 Lisp_Object Vprin1_to_string_buffer;
 
 DEFUN ("prin1-to-string", Fprin1_to_string, Sprin1_to_string, 1, 2, 0,
-       doc: /* Return a string containing the printed representation of OBJECT,
-any Lisp object.  Quoting characters are used when needed to make output
-that `read' can handle, whenever this is possible, unless the optional
-second argument NOESCAPE is non-nil.
+       doc: /* Return a string containing the printed representation of OBJECT.
+OBJECT can be any Lisp object.  This function outputs quoting characters
+when ncessary to make output that `read' can handle, whenever possible,
+unless the optional second argument NOESCAPE is non-nil.
 
 OBJECT is any of the Lisp data types: a number, a string, a symbol,
 a list, a buffer, a window, a frame, etc.
@@ -819,7 +820,8 @@ is used instead.  */)
 DEFUN ("print", Fprint, Sprint, 1, 2, 0,
        doc: /* Output the printed representation of OBJECT, with newlines around it.
 Quoting characters are printed when needed to make output that `read'
-can handle, whenever this is possible.
+can handle, whenever this is possible.  For complex objects, the behavior
+is controlled by `print-level' and `print-length', which see.
 
 OBJECT is any of the Lisp data types: a number, a string, a symbol,
 a list, a buffer, a window, a frame, etc.
@@ -875,7 +877,7 @@ to make it write to the debugging output.  */)
      (character)
      Lisp_Object character;
 {
-  CHECK_NUMBER (character, 0);
+  CHECK_NUMBER (character);
   putc (XINT (character), stderr);
 
 #ifdef WINDOWSNT